www.webdeveloper.com
Results 1 to 3 of 3

Thread: it does not allow me to select any buttons

  1. #1
    Join Date
    Nov 2011
    Posts
    27

    it does not allow me to select any buttons

    Hi,

    In my application what happens is that the user chooses a button by clicking on the (open Grid) link and selecting a button. Then what happens is that a set of buttons appear below depending on what the user has chosen. The user is supose to determine how many answers he wants to select in the text box (in other words how many buttons does the user want to select). For example if the user enters "2" in the textbox, then the user can only select 2 buttons below. The problem is that if the user types in a number in the text box, then it would not allow the user to select a button, (a button is selected if the color of the button turns green). but if I remove the number which is in the text box, then if I click on a button it comes up with an alert message stating that you should determine the number of answers you want, this is correct.

    So why is it not allowing me to select any buttons if there is a number inside the "Number of Answers" textbox?

    Code is in jsfiddle, click http://jsfiddle.net/pSy97/12/

    Thank You

  2. #2
    Join Date
    Dec 2011
    Location
    Centurion, South Africa
    Posts
    792
    Wow, you are persistent.

    I want to congratulate you first by saying I hate jQuery more than ever trying to fix this code.

    Please see attached...
    Attached Files Attached Files

  3. #3
    Join Date
    Nov 2011
    Posts
    27

    Thank You

    Thank you very much for your help, I have really struggled with this because I was so deep into the code but you have helped me. Probably could not do it without you so thank you very much Sorry That I have put you off from Jquery lol

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles