7 Replies Latest reply on Oct 2, 2006 9:18 AM by Newsgroup_User

    how to get javascript to collect the value of a radio button

    dsdsdsdsd Level 1

      I have a javascript that successfully retrieves the values of form elements, except for a radio button;

      for other form elements I use:
      var the_value = document.my_form.an_element_name.value;

      this does not work for radio buttons;

      any thoughts?