Javascript: can I call a function in an external file from the main page ?

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-05-15T16:43:12Z Indexed on 2010/05/15 17:14 UTC
Read the original article Hit count: 159

Filed under:
|
|

hi,

I'm loading from my main page an external js file, with a function.

I have a flash file in the main page invoking the javascript function.

Everything worked very well until when the javascript code was in the main file, but when I moved javascript to an external file the function seems not called anymore.

So... there is no way to move the javascript code to an external file ? Or any other solution ?

thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about flash