Can anyone help. Im trying to select some elements on a form but as the elements are being dynmaically added this is starting to cause problems.
The element(s) I need to select is the second input element within each child div.
Ive been trying something along the lines of this (without much luck):
$("#parentdiv :input:first-child").addClass("bad")
Thanks,
1 Answer