Possible Duplicate:
Calling a javascript function from another .js file
i'm new to javascript. And i just want to know how to call javascript function in one javascript file from another ? call a function in temp.js from main.js
Possible Duplicate:
Calling a javascript function from another .js file
i'm new to javascript. And i just want to know how to call javascript function in one javascript file from another ? call a function in temp.js from main.js
Just make sure that the files with the javascript code is with in the html document and you're able to call any functions located in any file from one file to another.