IMG submit in Netscape 4.08

Results 1 to 2 of 2

Thread: IMG submit in Netscape 4.08

  1. #1
    Renidea Guest

    Default IMG submit in Netscape 4.08

    The following code seems to work in all versions of IE, but only version 6 of Netscape. In Netscape 4.08 the "calculate" image button reloads the page without running the ckform() javascript. Any suggested remedies or work arounds?<BR><BR>&#060;form name="ckup" id="ckup"&#062;<BR><BR>{form stuff here}<BR><BR>&#060;input type="Image" src="calculate.gif" name="send" onClick="ckForm();" border="0"&#062;<BR>&#060;input type="Image" src="reset.gif" name="reset" onClick="document.location.reload( );" border="0"&#062;<BR><BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default <INPUT Type=Image> problematic

    It is not officially supported by NS until at least 4.7 and maybe not until 6.0.<BR><BR>The "correct" way (and this works even in very old browsers) is<BR><BR>&#060;A HREF="#" onClick="ckForm();"&#062;<BR>&#060;IMG src="calculate.gif" border="0"&#062;<BR>&#060;/A&#062;<BR><BR>

Posting Permissions

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