Possible Duplicate:
How to include a JavaScript file in another JavaScript file?
I want to include a JavaScript file in a JavaScript file. include('filename.js');
is not working
What is the right code?
Answer
function includeJS(incFile)
{
document.write('');
}
Then include a second JavaScript file by calling:
includeJS('filename.js');
No comments:
Post a Comment