469,925 Members | 1,519 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,925 developers. It's quick & easy.

how to load another web form using the drop down list box

hi all
dis yasin<yasinkoraya@yahoo.com>
i am creating a web site for a company at the moment. this is the scenario:
the company has many stores throughtout the country. on the home page they expect to see a dropdownlist box/ combo box which has the names of their stores. if one of the entries is clicked it should open another webform/web page which has details about that store.

plz help
Feb 20 '07 #1
1 1173
Its very easy my friend.... in the drop down menu , i mean list or select box

<select name="cmbo1" onchange="c">
<option value="cochin.asp">cochin</option>
<option value="kerala.asp">kerala</option>

when dropdown value changes, the function "redirect()" is invoked
which redirects the page to required page, here is the function redirect( )

function redirect()
var url=document.somthig.cmbo1.value

Chears friend .. happy coding
Feb 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Flos | last post: by
6 posts views Thread by MP | last post: by
9 posts views Thread by John Kirksey | last post: by
4 posts views Thread by Greg Scharlemann | last post: by
3 posts views Thread by ghjk | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.