Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-14-2011, 07:11 AM   PM User | #1
malcolm p
New Coder

 
Join Date: Dec 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
malcolm p is an unknown quantity at this point
It is allowing me to select more buttons than I should do

Please follow these steps in the jsfiddle

1. Click on open grid link and select option "3", buttons A,B and C would appear

2. Enter in number 2 in the number of Answers textbox. Then select buttons A and C

3. Now click on the open grid again and select option 6.

4. Now the number of Answers textbox is empty so type in 2 again in the text-box. So only 2 answers should be selected which is A and C. So if you click on another button the alert message should appear stating you are beyond limit, deselect another button. But this does not happen. Instead the user can select another 2 buttons and then the alert message would appear if another button is selected. This means that 4 buttons are selected which is incorrect, it should still be 2.

So does anyone have an idea why it is doing this?

Thanks

Code is in jsfiddle, click [here][1]


[1]: http://jsfiddle.net/C7vcQ/2/
malcolm p is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:59 AM.


Advertisement
Log in to turn off these ads.