[Javascript] FW: Severe 'newbie' help with checkbox/submit
Gorden-Ozgul, Patricia E
gorden at bnl.gov
Tue Apr 22 11:33:27 CDT 2003
This may be the wrong list to send this request to, but perhaps it is and I
could use all the help I can get! Perhaps JavaScript can provide a
solution!
> I have a page from which I'd like to establish functionality to enable
> URLs to be activated when submit button pressed. Which URL would be
> activated would be dictated by which checkbox is checked.
>
> This should be a common task and I'm new at this. I'm a bit embarassed
> with my code because it so blatently doesn't work. Can anyone help?
>
> Thanks.
> Pat Gorden-Ozgul
> pgo at bnl.gov
>
>
>
> *************example code snippet from
> Response.asp************************
>
> <p align="left">What action would you like to take?<br><br>
> <input name="action1" type=checkbox value="ON">Create a New
> Submission <br>
> <input name="action2" type=checkbox value="ON">Modify a Previous
> Submission <br>
> </p>
> <input type=submit value="Submit">
>
>
> <%
> if request("action1") = ""
> 'checkbox is not selected
> else
> 'checkbox is selected
> %>
> <form method="post" action"http:://directory/first.htm">
>
> </form>
> <%
> end if
> %>
More information about the Javascript
mailing list