SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2006
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    firefox causing problems with radio buttons

    hey guyss...

    i've created a form with radio buttons.
    this is how it's displayed: O text1 O text2 O text3

    the form works perfectly on IE but when I check it on firefox, it has a few problems:
    - i can only select text1, when i try selecting text2 or text3, it automatically jumps back to text1...then i noticed that i need to use arrow keys to move between the buttons but thats annoying..

    this shouldn't be hard to fix..i need some help.

  2. #2
    SitePoint Addict joaquin_win's Avatar
    Join Date
    Jul 2005
    Location
    Venezuela
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Normally that whould be coded as:

    HTML Code:
    <input type="radio" name="options" value="1" /> Option 1
    <input type="radio" name="options" value="2" /> Option 2
    <input type="radio" name="options" value="3" /> Third
    If it isn't working maybe you should show the code you are using (html and javascript if any).

  3. #3
    SitePoint Zealot
    Join Date
    Mar 2006
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here is the code

    HTML Code:
    <label>Select one:<font color="#FF0000">*</font>
    <input type="radio" name="choose" value="admin">
        Club 
    <input type="radio" name="choose" value="member">
        Student
    <input type="radio" name="choose" value="school">
        School	
    </label>

  4. #4
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to give each input its own label.

  5. #5
    SitePoint Zealot
    Join Date
    Mar 2006
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    perfect thanks!!


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
  •