javascript - jquery get value of element's grandchild -
i'm trying grab value of input or select (selecting based on grandparent's id), , test if has been set/answered/responded to. <ul id="foo"> <li>happy text</li> <li><input name="a" type="text" /></li> <li><input name="a" type="radio" value="01" />blah</li> <li><input name="a" type="radio" value="02" />blah</li> </ul> <ul id="bar"> <li>happy text</li> <li><input name="b" type="text" /></li> <li><input name="b" type="radio" value="01" />blah</li> <li><input name="b" type="radio" value="02" />blah</li> </ul> <ul id="baz"> <li>happy text</li> <li> <select nam