Thread: links links and selectbox
Results 1 to 2 of 2
Related
-
links Forum: HTML Forum
Replies: 2 -
No Links Forum: HTML Forum
Replies: 15 -
Photo's for links, links for photo's, links for links Forum: Link Exchange
Replies: 0
-
06-20-2006, 09:13 AM #1
links links and selectbox
I have a lot of links like this
<A href="commoner.cgi?pg= category &ref=category_id1>category1</A>
<A href="commoner.cgi?pg= category &ref=category_id2>category2</A>
<A href="commoner.cgi?pg= category &ref=category_id2>category3</A>
(This convention of passing value to the reference page as above is called is called query string method, I think so)
I would like to convert this links to a drop down list, I mean a select list
How can I do this such that , when we select a category
all this vales should pass to the reference page, and the reference page shuld show next
please help me
-
06-26-2006, 06:06 PM #2
Re: links links and selectbox
here you go ..
it works perfect in both internet explorer and firefox ..
HTML Code:<form name="current" action="#" method="post"> <select name="theme" onChange="location=document.current.theme.options[document.current.theme.selectedIndex].value;" class="button" value="GO"> <option value="url1">link1</option> <option value="url2">link2</option> <option value="url3">link3</option> </select> </form>
Last edited by HTML; 06-26-2006 at 08:01 PM.