I just spend 4 hours to read a simple radio selection via jQuery in IE9 from the following form.
How could this be a problem you think? Exactly a quick google search and as expected the following code worked just fine in almost all browser exept IE9 ggrrrrrr:
Mr Miss Mrs Ms
var cTitle = $('input:radio:checked', '#myForm').val(); var cTitle = $('input[name=cTitle]:checked', '#myForm').val();
Yes the second attempt was close but i was missing the ' around the radio name and should have taken the " to get the objects :(
var cTitle = $("input[name='clientTitle']:checked").val();
I know a prime example of copy and paste and not really using my head. So just in case you run into similar problems give it a try and hopefully save some time.