I like to find value of an input box which is inside a fieldset as follows
fieldset> div >div> input[with class name 'inputclassname']
I know the id of fieldset and trying to find value of input with its class name but I am not able to .value is undefined.
I tried like this
$('#ID of fieldset').find($('.inputclassname')).val();
it always returning as undefined. Any suggestions?
1 Answer