[jQuery] Jquery validating the data that is there in the div tag..
<form id = "testform">
<div id ="1">
<input type="name" />
<input type="lastName" />
<input type="phoneNumber" />
</div>
<div id ="1">
<input type="address1" />
<input type="address2" />
</div>
<input type="button" onClick="validateDiv("1") />
</form>
I need to validate the <div> data on the onClick. I will pass the div
id to validateDiv method. In the above scenario I need to validate
only the data that is there in first data.
I appreciate if you could respond to this note.
Thanks in advance ......