Menu
I’ve created a .js file that I call from my HTML page. The call code looks like this: ‘<SCRIPT LANGUAGE=”JavaScript” SRC=”/wsmedia/jsfiles/settheuserid.js”></SCRIPT>’
That is the path where the js file exists. All it does is read a cookie and place it in a hidden text field on a form. It is not working at all. I get an error saying ‘Object expected’.
I placed the javascript code in the HTML (instead of calling it) (between head tags) and worked fine. Does anyone know what might be causing the error when it’s called?
Thanks in advance.