Javascripts are in script.js file which I have called in the xhtml file.
But it is throwing error at line where I have calling onpageload function saying " object expected.
However, if I have the scripts on same XHTML file, it is working fine.
Javascripts are in script.js file which I have called in the xhtml file.
But it is throwing error at line where I have calling onpageload function saying " object expected.
However, if I have the scripts on same XHTML file, it is working fine.
As specified in HTML4 specifications for Scripts, do you declare your external javascript like this ?
IE (but other browers may too) requires that you open and close the script tag.
The end tag of the `script' element is not optional