title: Javascript for comparing date fields
body: <p>In my form, there are two label fields namely, date of birth and confirm date of birth. Each field consists of three input fields for DD, MM and YY respectively. Below is the html code,</p>
  
  <pre><code>     &lt;label&gt;Date of Birth&lt;/label&gt;
       &lt;input type="textbox" id="dd1" /&gt;
       &lt;input type="textbox" id="mm1" /&gt; 
       &lt;input type="textbox" id="yy1" /&gt;
       &lt;label&gt;Confirm Date of Birth&lt;/label&gt;
       &lt;input type="textbox" id="dd2" /&gt;
       &lt;input type="textbox" id="mm2" /&gt; 
       &lt;input type="textbox" id="yy2" /&gt;
  </code></pre>
  
  <p>Now i need to compare both label fields. If both are equal, need to get an alert message. Please help...</p>