[11702] in www-talk@info.cern.ch
RE: Problem with Onclick in Netscape in
daemon@ATHENA.MIT.EDU (Al Gilman)
Tue Sep 5 09:50:11 2000
Message-Id: <200009051323.JAA349369@smtp2.mail.iamworld.net>
Date: Tue, 05 Sep 2000 09:37:50 -0400
To: <www-talk@w3.org>
From: Al Gilman <asgilman@iamdigex.net>
In-Reply-To: <000201c01705$91132440$0200a8c0@proteva.family>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-From: 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
>