title: Check radio button whose value = $ programmatically
body: <p>There is a radio button group define as below:</p>
  
  <pre><code>&lt;input type="radio" name="type0" value="$"&gt;$&lt;input type="radio" name="type0" value="%"&gt;%
  </code></pre>
  
  <p>Need to check the first radio button whose value = <code>$</code>.</p>
  
  <p>The problem is the below code doesn't accomplish this. Need some way of escaping <code>$</code></p>
  
  <pre><code>$('input[type=radio][value=$]').attr('checked','checked');
  </code></pre>