TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Javascript, AJAX, E4X (http://www.talkphp.com/javascript-ajax-e4x/)
-   -   Drop down menu in javascript (http://www.talkphp.com/javascript-ajax-e4x/2775-drop-down-menu-javascript.html)

imilkcheese 05-08-2008 03:26 PM

Drop down menu in javascript
 
As simple as this sounds, I can't seem to find any good information on how to do something that could be so, so, so very simple. I am looking to use a drop down from two options, once one is selected from the drop down, I just need it to go to an update.php page with the new posted value that they selected. Is that hard to do!?

Jim 05-08-2008 04:26 PM

Maybe an onclick="window.location='location.ext';" will work or something like that?

imilkcheese 05-08-2008 04:31 PM

Quote:

Originally Posted by Jim (Post 14471)
Maybe an onclick="window.location='location.ext';" will work or something like that?

oh snap, I just answered my own question, thanks to you haha! So, yeah, on click it will take them to

update.php?value=this-option

yeah... simple way to do it, thanks for your help! :)


All times are GMT. The time now is 05:44 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0