417 users online (0 members and 417 guests)  

  Results 1 to 2 of 2


  1. links    Forum: HTML Forum
    Replies: 2
  2. No Links    Forum: HTML Forum
    Replies: 15
  3. Replies: 0
  1. #1
    sujith's Avatar
    New User

    Join Date
    Jun 2006

    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

  2. #2
    loanskey's Avatar
    New User

    Join Date
    Apr 2006

    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>
    Ravish Kumar
    Last edited by HTML; 06-26-2006 at 08:01 PM.

Tags for this Thread