Code doesn't work with Netscape

Results 1 to 2 of 2

Thread: Code doesn't work with Netscape

  1. #1
    Join Date
    Dec 1969

    Default Code doesn't work with Netscape

    Hello -<BR><BR>Could anyone tell me why this code works fine with IE and not at all with any version of Netscape? The image does appear on the page, but the ONCLICK event does not work. Thanks.<BR><BR>Response.Write "&#060;img src=""images/next.gif""<BR>ONCLICK=""document.location.href=&#0 39preview_simple.asp?number=" &<BR>Server.URLEncode(intNumber) & "&abstract=" & Server.URLEncode(strAbstract) &<BR>"&curpage=" & curpage + 1 & "&#039;""&#062;"<BR><BR>

  2. #2
    jason Guest

    Default RE: Code doesn't work with Netscape

    Location is a subclass of window, not document<BR><BR>try window.location.href<BR><BR>typing javascript: into netscape&#039s location bar would have told you that<BR><BR>jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts