i have the following problem using jquery.
I have sth like this
>
I can confirm this code snippet works perfectly in Chrome 11, Firefox 4 and IE 9 using the jQuery Git version.
EDIT: For the ones advising prop(), check the docs. Prop() is used for boolean attributes like: checked, disabled etc.