2

I have been able to implant the function to load the js files, but my problem is that it seems that I can only access my variables not my functions (in the object that I load). anyone got any ideas on why this is?

mplungjan
180k29 gold badges183 silver badges246 bronze badges
asked May 23, 2011 at 8:58
1
  • 6
    Not without seeing your code... Commented May 23, 2011 at 9:00

1 Answer 1

1

You can load one JS file during runtime which will load other JS files Suppose you have one js file say "Default.js" in this file just write following line. It will automatically load "FileToLoad.js" file. You can add as many lines as shown below to load more & more files- e.g. document.write(""); document.write(""); document.write("");

answered May 23, 2011 at 9:21
Sign up to request clarification or add additional context in comments.

1 Comment

Thankyou for your awnser, but im not sure how this will help me during runtime?

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.