title: JQuery and radio button help
body: <p>I have data being imported from a database and I would like to represent that data in a set of radio buttons. If the value in the database is 1 the "customer status" should show the "active" radio button else show the "inactive" button.</p>
  
  <p>I don't know much at all about JQuery but am learning day by day so any detailed help offered would be greatly appreciated.</p>
  
  <p>I took the main code snippets from my files and am including them here.</p>
  
  <p>The interesting thing about the code I am posting is that I can use the buttons to change the data in the database. That works but showing what is in the database isnt.</p>
  
  <pre><code>var admCustStatus = $("input[name='admCustStatus']:checked").val();
  
  
  if (item.field == "admCustStatus")
  {
     // ?? radio buttons
  }
  
  &lt;tr&gt;
      &lt;td class="admMarker"&gt;Active&lt;input type="radio" id="admCustStatusActive" name="admCustStatus" value="1" checked="checked" class="admChkbx"&gt;&lt;/td&gt;
      &lt;td class="admMarker"&gt;Inactive&lt;input type="radio" id="admCustStatusInactive" name="admCustStatus" value="0" class="admChkbx"&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>