Hi i have the following
<label>
<INPUT style="DISPLAY: inline; VERTICAL-ALIGN: middle" class=fieldValue name=radioOpt value=1 CHECKED type=radio> Option1
</label>
<label>
<INPUT style="DISPLAY: inline; VERTICAL-ALIGN: middle" class=fieldValue name=radioOpt value=2 CHECKED type=radio> Option2
</label>
<label>
<INPUT style="DISPLAY: inline; VERTICAL-ALIGN: middle" class=fieldValue name=radioOpt value=3 CHECKED type=radio> Option3
</label>
I want to rename option x to test x base on some event.
var radioOpt = $("input[name=radioOpt][value=1]");
would give me radio button. How would i rename its label?
If you dont want to change the markup, You can do the following to Change that text for this case
DEMO http://jsfiddle.net/joycse06/U7TMs/