Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] FW: Severe 'newbie' help with checkbox/submit
- From: gorden at bnl.gov (Gorden-Ozgul, Patricia E)
- Subject: [Javascript] FW: Severe 'newbie' help with checkbox/submit
- Date: Tue Apr 22 11:36:16 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@xxxxxxx
>
>
>
> *************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
> %>
- Follow-Ups:
- [Javascript] FW: Severe 'newbie' help with checkbox/submit
- From: Chris Tifer
- [Javascript] FW: Severe 'newbie' help with checkbox/submit
- Prev by Date: [Javascript] Can I Give Myself a Cookie ?
- Next by Date: [Javascript] FW: Severe 'newbie' help with checkbox/submit
- Previous by thread: [Javascript] Opening a new Window
- Next by thread: [Javascript] FW: Severe 'newbie' help with checkbox/submit
- Index(es):