In this episode I have two selects on a form. When the select changes I want to submit the form after setting the value of the important field to the value of the select. My problem is that I can't get to the form let alone the field on the form.
<Form name="SurvForm" action="survey.asp" method="Post" id="SurvForm" >
<select Size="1" name="ComSurv" onChange="DoSurvey(this)">
<option Selected value="Select" />--------- Select ---------
While NOT RS.EOF
%><option value= <% =RS("JobNumber") %> /> <% = RS("SurveyName") %>
<input type="hidden" value="" name="JobNo" />
I am trying to get to the form that has the select as a child element.
alert("Doing Survey. Getting " + which.value);
What is above is just the last WAG at what I am trying to get to.
Thanks for looking.