Results 1 to 2 of 2
  1. #1

    Multi Search but with radio buttons

    Hi, I followed a great article here for creating a multi search form:

    http://www.mediacollege.com/internet...ti-search.html

    However I'd like to use radio buttons instead of a dropdown list, is this possible?

    Thanks


  2. #2
    of course it is possible you can checkout www.htmlgoodies.com for the radio button code, as for the javascript, you can google it i am sure
    google something like javascript radio buttons or get javascript radio button value
    i can tell you that u will need a loop to go thru the buttons to see which one is checked (if(getElementById('RadioIdName').checked) this returns boolean) then u do the .value thing to get the text. i am not sure if that's the right syntax but that's the logic of it. that if will be inside of a for loop

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Subscribe to us on YouTube