[thelist] [help] image connected to a submit function w/ javascript embedded
Chris Houston.
chris at phosphors.net
Tue Nov 14 04:02:47 CST 2000
> <form action="formmail.pl" method="POST" onSubmit="javascript:winPop2()">
> <a href="javascript:document.myform.submit()">
> <img src="button.gif" height="11" width="123">
> </a>
>
> the code in the action statement will not work...
>
> sooo... i am stuck... any ideas, suggestions, examples, links, etc would
be
> very helpful...the ultimate goal is to have the form results posted in a
new
> pop window once the user clicks on the submit button graphic...
Why don't you do something like this:
<a href="javascript:document.myform.submit();winPop2()">
<img src="button.gif" height="11" width="123">
</a>
Chris Houston.
More information about the thelist
mailing list