How do you use jquery (or anything else for that matter) to get the form values from the argument in the callback of a jquery.get() call provided it is html?
for instance, say the following call:
$.get('somePage.aspx', function (data) {
alert('here');
});
called the callback function with the following html:
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title></head>
<body>
<form name="form1" method="post" action="frmMontageWait.aspx?action=checkStatus&guid=a224b7c3-fec8-4b55-870e-a33f15bad629" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTc5NTA2NTY5NmRkyx3R93TAvDqSvxEh6aKHeTSr0ZI=" />
</div><div> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWAwLA8/fiDgLP15SfBAKG69WwDBRTCbRBksmbw/qTkRQ4tx/K3bES" />
</div>
<input type="hidden" name="hdnInput1" id="hdnInput1" value="100" />
<input type="hidden" name="hdnInput2" id="hdnInput2" value="99" />
</form>
</body>
</html>
How do you go about getting the values of hdnInput1 and hdnInput2 in the callback?