onChange event

onChange event

am 04.08.2007 14:30:48 von vinodkus

I have two drop down. In first drop down it shows the state name and
in second drop down it shows city of that state. but i want if any
particular state is selected then its corresponding state should be
selected in another drop down. I think onchange event is require to
write on first drop down but i dont want to put any submit button. I
want if first drop down is selected then its corresponding data should
be displayed in another drop down.





New Page 1




<%
set con = Server.CreateObject("ADODB.Connection")
con.open "driver={SQL Server};server=c1;uid=sa;pwd=;database=pubs;"
set rs = con.execute("select distinct(statename) from stcity")
%>

<%
st = request.form("st")
%>




Re: onChange event

am 05.08.2007 18:58:46 von Jon Paal

http://www.texaswebdevelopers.com/examples/our_supplier_in.a sp