There is probably a very simple solution to this, but after weeping aloud for several hours I am unable to think straight.
Problem Script: (added a space so that it displays properly)
As you can see I have replaced the '&' with & amp;
This works fine in Explorer / Opera, but in Netscape / Mozilla the & amp; is being displayed as & amp; in the address bar.
One more thing, if I was to have:
This works fine in both Explorer and Gecko based browsers. Can any body tell me the difference and why the first script dosnt work in Gecko browsers?
Thanks to anybody in advance
Problem Script: (added a space so that it displays properly)
Code:
<script type="text/javascript"> function delItem(iC) { location.href = "myUri.asp?var1=5& amp;var2=6& amp;var3=" + iC; } </script>
This works fine in Explorer / Opera, but in Netscape / Mozilla the & amp; is being displayed as & amp; in the address bar.
One more thing, if I was to have:
Code:
<a href="myUri.asp?var1=5& amp;var2=6& amp;var3=6">here</a>
Thanks to anybody in advance
Comment