I have a form and I use this document.forms["form-0"].answerN[0]; to select a specific radio button, however I could not manage to do it with jQuery.  
I tried $('forms["form-0"]') and $('forms[0]') to get to the form but it didn't work, and both do work using the long path..
you can access like this ( jQuery v1.6)
$('form > input:radio').prop('id');
As you can aceess form by name or id attribute also like this
 $('form[name="firstForm"] > input:radio').prop('id');
Try like this: $("form input:radio")
For further assistance follow this link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With