|
|
Q1738 How can a function in one *.js file call another function in a second *.js file?
irt.org | Knowledge Base | JavaScript | Source | Q1738 [ previous next ] Q1738 How can a function in one *.js file call another function in a second *.js file?It is necessary to define the function before invoking it. Therefore it is best to reorder the inclusion of the *.js files in your page. For example:
where test1.js contains:
and test2.js contains:
Feedback on 'Q1738 How can a function in one *.js file call another function in a second *.js file?' |
-- div -->
|