Hello!! This might be trivial for all the experts out there but i'm a newbie ,so please bear with me . I'm trying to create a dynamic drop list . I have the following code
<SELECT id="First" name="First" onchange="populate()">
<option value=""></option>
<%Code("//GETVALUES/")%>
</SELECT>
<SELECT id="second" name="second" >
<option value=""></option>
</SELECT>
As you see the values in "First" are obtained by using the ASP CODE <%Code("//GETVALUES/")%>.
Based on the value selected in "First" I need to populate "second" .
I'm curious how that populate() function needs to be written so that i can assign values to "Second" by calling another function similar to <%Code("//GETVALUES/")%>.
Thanks!
<SELECT id="First" name="First" onchange="populate()">
<option value=""></option>
<%Code("//GETVALUES/")%>
</SELECT>
<SELECT id="second" name="second" >
<option value=""></option>
</SELECT>
As you see the values in "First" are obtained by using the ASP CODE <%Code("//GETVALUES/")%>.
Based on the value selected in "First" I need to populate "second" .
I'm curious how that populate() function needs to be written so that i can assign values to "Second" by calling another function similar to <%Code("//GETVALUES/")%>.
Thanks!