|
|
Subject:
Form Jump Menu
Category: Computers > Programming Asked by: nyoung-ga List Price: $15.50 |
Posted:
10 Mar 2005 08:24 PST
Expires: 09 Apr 2005 09:24 PDT Question ID: 491456 |
On a Form Jump Menu is it possible to have only one option value result in a URL jump and the other value's to remain in current URL. |
|
There is no answer at this time. |
|
Subject:
Re: Form Jump Menu
From: fahadhabib80-ga on 11 Mar 2005 11:05 PST |
can you explain the question little more. I cannot get your problem. Regards, Fahad |
Subject:
Re: Form Jump Menu
From: nyoung-ga on 12 Mar 2005 01:41 PST |
Hi, my question is, I have a form field, it is a drop down with two options, yes and no. If no is selected nothing happens, if yes is selected I need a new window to open a new URL. It is a jump menu but with only option performing a jump. I hope this now makes sense. |
Subject:
Re: Form Jump Menu
From: robwunderlich-ga on 15 Mar 2005 09:50 PST |
<html> <head> <script> function doJump() { target = event.srcElement[event.srcElement.selectedIndex].value; if (target.length > 0) { window.location.href = target; } } </script> </head> <body> <select onchange="doJump()"> <option value="">-select-</option> <option value="newpage.htm">Yes</option> <option value="">No</option> </select> </body> </html> |
Subject:
Re: Form Jump Menu
From: nyoung-ga on 17 Mar 2005 02:29 PST |
Thanks for your help that seems to have worked. Thanks Again |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |