how can i validate 3 separate input field for date, month & year using jquery or javascript?
<p>I have 3 separate input fields for date, month and year.</p>

<p>Date field accepts only values in range 1-31 and month field accepts only values in range 1-12. The date format I want is dd mm yyyy.</p>

<p>Below is my html code please help me any one. </p>

<pre><code>&lt;div class="date"&gt; 
  &lt;input id="date" name="day" /&gt; 
  &lt;input id="month" name="month" /&gt; 
  &lt;input id="year" name="year /&gt; 
&lt;/div&gt; 
</code></pre>

<p>all input fields are text boxes.</p>