I have a demo where I have a questionnaire question with some answers. The user is allowed to check up to 3 of the answers. When the user has checked 3 answers all checkboxes that are NOT checked have to be disabled.
The link for the demo I'm talking about is: http://jsfiddle.net/garrett55/ztpAf/
As you can see I am trying to use a function to disable some of the checkboxes but not others. This doesn't work and I think it has to do with the model not updating the view.
Anyone have an idea how to get something like this to work?
The link for the demo I'm talking about is: http://jsfiddle.net/garrett55/ztpAf/
As you can see I am trying to use a function to disable some of the checkboxes but not others. This doesn't work and I think it has to do with the model not updating the view.
Anyone have an idea how to get something like this to work?