SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2007
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Radio buttons Hidden fields

    Hello

    I am trying to create a list that appears when the radio buttons are clicked, I am having a problem with the way the list appears once the button is clicked.

    Here is the example http://jsfiddle.net/c2webdev/4bpKE/

    Please help

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,191
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Your demo didn't have jQuery set as the framework, your code works perfectly fine however.

    http://jsfiddle.net/FWFhF/

  3. #3
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Also your two select elements share the same id: myList. The id attribute is suppose to be unique.


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
  •