Not send info from hidden radiobuttons?

Discussion in 'JavaScript' started by nilshw, Apr 12, 2007.

  1. #1
    Hi!

    I've made a sort of search system that is going to search thru a database. It is built up like a hierarchy. It can be seen on http://www.nilshermann.com/prosjekt/index.php?side=ovelsebank

    If i choose some buttons until i get down to for example level 5. But then I push on a button on level 3, and search. Then information from level 4 and 5 is also sendt. I use GET, to see whats sendt.

    How can I, on a way, not send information from the hidden buttons..?

    Thanks!!
     
    nilshw, Apr 12, 2007 IP
  2. briansol

    briansol Well-Known Member

    Messages:
    221
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #2
    you don't.

    use post, or use seperate forms.
     
    briansol, Apr 13, 2007 IP
  3. Logic Ali

    Logic Ali Well-Known Member

    Messages:
    170
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Whenever you hide the buttons, set disabled=true for each of them, and disabled=false when you show them.
     
    Logic Ali, Apr 13, 2007 IP