dimanche 21 septembre 2014

set groupt of radion value jquery


Vote count:

0




i have a group ooa radion buttons defined as so



<input type="radio" name="required[status]" id="status" value="1">Yes </label>
<input type="radio" name="required[status]" id="status_1" value="0"> No </label>
<input type="radio" name="required[status]" id="status_2" value="2">Maybe </label>


this is stores the value 0,1,2 in a field status in the db


later, i get the value from db as 1, how do i use jquery to check the appropriate radio button?



asked 35 secs ago

Smith

1,784






set groupt of radion value jquery

Aucun commentaire:

Enregistrer un commentaire