Reputation: 410
how to use the equation syntax javascript jquery for this syntax:
document.getElementById ("tone_positive_" + x). checked = true
some examples I have tried but failed or did I not understand the radio buttons to cope with jquery, thank you,
Upvotes: 1
Views: 227
Reputation: 18751
Doesn't
$("#tone_positive_" + x).attr("checked", "checked");
work?
Upvotes: 2