check a radio button from javascript

More
4 years 11 months ago #102595 by destro
destro created the topic: check a radio button from javascript
hello, i started using limesurvey only few days ago. i have to mask a radio button list with an input number text. my question is simple: how can i check one radio button from javascrit/jquery from a specific number wrote?
i tried with
$('input#answer' + sID + 'X' + gID + 'X' + qID + 1 + '').prop( "checked", true );
but it doesn't work.
thanks.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!