There is a radio button group define as below:
<input type="radio" name="type0" value="$">$<input type="radio" name="type0" value="%">%
Need to check the first radio button whose value = $.
The problem is the below code doesn’t accomplish this. Need some way of escaping $
$('input[type=radio][value=$]').attr('checked','checked');
1 Answer