[11701] in www-talk@info.cern.ch
RE: Problem with Onclick in Netscape in
daemon@ATHENA.MIT.EDU (Fish)
Tue Sep 5 03:01:58 2000
From: "Fish" <fish@infidels.org>
To: <mgandhi@bhartitelesoft.com>
Cc: <www-talk@w3.org>
Date: Mon, 4 Sep 2000 23:50:24 -0700
Message-Id: <000201c01705$91132440$0200a8c0@proteva.family>
Mime-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
In-Reply-To: <20000905060301.19455.qmail@web6301.mail.yahoo.com>
Resent-From: www-talk@w3.org
<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>
"Fish" (David B. Trout)
fish@infidels.org