in reply to Re: Re: Re: Netscrape and forms (Slightly Off Topic)
in thread Netscrape and forms (Slightly Off Topic)
<script language="javascript"> function check (thisform) { if (WhereToGo=="XXX") thisform.submit(); -- other logic here as well else alert("play nice"); } </script> <INPUT TYPE="HIDDEN" name="WhereToGo" Value="XXX"> <INPUT TYPE="Button" name="SomeActionGoesHere" Value="Add something to + form" onClick="check(this);">
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Double submits..
by Anonymous Monk on Apr 18, 2001 at 07:54 UTC | |
by zakzebrowski (Curate) on Apr 23, 2001 at 23:18 UTC |