W3C home > Mailing lists > Public > www-talk@w3.org > September to October 2000

RE: Problem with Onclick in Netscape in <IMG tag

From: Al Gilman <asgilman@iamdigex.net>
Date: Tue, 05 Sep 2000 09:37:50 -0400
Message-Id: <200009051323.JAA349369@smtp2.mail.iamworld.net>
To: <www-talk@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:24 GMT