title: Get values of form field in javascript from a visualforce page
body: <p>i have requirement where i need to check if  apex:inputCheckbox  is checked, and if it isn't then raise an alert saying that its not checked.</p>
  
  <pre><code> &lt;apex:inputCheckbox value="{!check}"/&gt;
  </code></pre>
  
  <p>I am raising the alert from a java script. i am using actionfunction to call a apex method after the alert is raised.</p>
  
  <p>What i need is a way to check if the checkbox is checked or not in javascript</p>
  
  <p>Thanks</p>
  
  <p>Prady</p>