I have an ASP Application that works great in IE5. I have worked out all browser incapatability problems with Netscape except for two.
1. The onClick event in the following code does not seem to fire in Netscape.
(tag brackets on both ends)
Img src='nextbut.jpg' onClick='javascript:NextPage(1);'
-->
If I use the following code, the onClick event fires.
Does Netscape's Image tag not support the onClick event?
2. Pertaining to the following code:
( there are no comments on actual code)
//function NextPage(lnPage){
// alert("start");
// alert("1"+document.frmCool.action);
// document.frmCool.action="CoolCust.asp?direct=next&page="+lnPage;
// alert("2"+document.frmCool.action);
// document.frmCool.submit();
}
If I strip out all of the lines in the above code, the document does not submit. If I run it as is, the first alert in run (so I know that the function is being run), but nothing after that runs. Why does this happen.
As I said before, everything works fine in IE5.