Possible Duplicate:
Include javascript file inside javascript file?
Hello,
I want to include a javascript file in a javascript file.
include('filename.js');
is not working
What is the right code.
Thanks Jean
Hello, I want to include a javascript file in a javascript file.
What is the right code. Thanks Jean |
|||||||||
|
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Then include a second JavaScript file by calling:
|
|||||||||||||
|
You can access the variables from first in second There is no need to include one js file into another. Javascripts are globalised one. You can include both the files in the HTML/JSP page. |
|||||||
|
use document.write in first Javascript function..
|
|||||
|