I apologize for the banal question. There is a “choice” for the built on <input type="radio">
I wanted not only the button itself to be active, but also the text on the right, like there is a label
attribute but something without effects.
It is clear that you can set each input
its id
, and on click to do $('radio1').value.checked()
but mb there are other more elegant options?
Example code: http://jsfiddle.net/4YUuP/