RE: Problem with Onclick in Netscape in <IMG tag

At 11:50 PM 2000-09-04 -0700, Fish wrote:
><snip>
>
>> I have to perform POST only and cannot make this image
>> as a link and do GET operation.
>> 
>> Pl reply at mgandhi@bhartitelesoft.com
>> 
>> regards
>> -mukul
>
>Why use javascript at all? Just do it using forms:
>
>  <FORM METHOD="POST" ACTION="http://server/cgi-script">
>    <INPUT NAME=field1 TYPE=hidden VALUE="value1">
>    <INPUT NAME=field2 TYPE=hidden VALUE="value2">
>    (etc...)
>    <INPUT BORDER=0 SRC="image.jpg" TYPE=image>
>  </FORM>
>

Yes.  Since you can do it in HTML, you should.

See Checkpoint 6.3 in
<http://www.w3.org/TR/WAI-WEBCONTENT/#gl-new-technologies>.

Al

>
>     "Fish"  (David B. Trout)
>        fish@infidels.org
> 

Received on Tuesday, 5 September 2000 09:22:35 UTC