>i have 3 textboxes under <div id="mydiv">. i would like to validate >the Textbox ie textbox is empty. > >i have done validation for each individual textbox by using their >id,but i need coding for validate the TextBox using div id ie mydiv.
The following selector would return all the textboxes inside the mydiv div: $("#mydiv textarea") -Dan