Hey all,
I have 2 values "Yes" and "No". I am attempting to dynamically manipulate another part of the interview using this value but can not seem to get the value through in javascript.
What is the correct syntax to check if the "Yes" radio button is checked. I have placed an example below of things I have tried
if ($("#radiobuttonID").checked() == "1"){
// then do something
}
if ($("#radiobuttonID").checked() == "True"){
// then do something
}
if ($("#radiobuttonID").val() == "Yes"){
// then do something
}
None appear to work, Any ideas on what the correct syntax would be to retrieve the value?
Thanks guys!