Re: form submission with image in nn

by Peter-Paul Koch <ppk(at)xs4all.nl>

 Date:  Thu, 13 Jan 2000 21:01:46 +0100
 To:  pbabcock(at)bgsgroup.com,
hwg-languages(at)hwg.org
  todo: View Thread, Original
><input type=image align=absmiddle src="images/high.gif" border=0 height=25
>width=50 onclick="txtHidden.value='H'" name=imageH>

should be

<input type=image align=absmiddle src="images/high.gif" border=0 height=25
width=50 onclick="document.forms[0].txtHidden.value='H'" name=imageH>

Netscape requires the 'document.forms[0].' bit, while Explorer doesn't.

ppk

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA