html call javascript function from external js file

 

 

 

 

I am having trouble calling an external javascript function from my asp.net page. I have a file called user.js which I have thisHTML/JS code in one file: When I call a function from the HTML that exist in the myJScript I get an error when calling the ".js" file - functions are called fine! however, when calling the "foo" function - I get an error! ("Object expected").Hi, I am having a strange problem I have an HTML file which has 2 script tags: 1)