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,
<label>Date of Birth</label>
<input type="textbox" id="dd1" />
<input type="textbox" id="mm1" />
<input type="textbox" id="yy1" />
<label>Confirm Date of Birth</label>
<input type="textbox" id="dd2" />
<input type="textbox" id="mm2" />
<input type="textbox" id="yy2" />
Now i need to compare both label fields. If both are equal, need to get an alert message. Please help...