469,275 Members | 1,601 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

How can when select change run a event

Hello,
<%@ Language=VBScript %>
<%
Response.Write "<SELECT id=select1 name=select1 method=GET>"
Response.Write "<OPTION 1>One</OPTION>"
Response.Write "<OPTION 2>Two</OPTION>"
Response.Write "<OPTION 3>Three</OPTION>"
Response.Write "</SELECT>"
Response.Write "<INPUT type=""text"" id=text1 name=text1>"
%>
I want a event,when select1 changed,text1 shows select1's value.For example
when select1 is selected "Two" text1 shows 2.
I wait your advice.

Jul 19 '05 #1
2 1373
This would be done client-side.
A javascript newsgroup would probably be a better place to try.

"Jack" <si*****************@noyahoo.co.jp> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello,
<%@ Language=VBScript %>
<%
Response.Write "<SELECT id=select1 name=select1 method=GET>"
Response.Write "<OPTION 1>One</OPTION>"
Response.Write "<OPTION 2>Two</OPTION>"
Response.Write "<OPTION 3>Three</OPTION>"
Response.Write "</SELECT>"
Response.Write "<INPUT type=""text"" id=text1 name=text1>"
%>
I want a event,when select1 changed,text1 shows select1's value.For example when select1 is selected "Two" text1 shows 2.
I wait your advice.

Jul 19 '05 #2
Thank you

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Roger Withnell | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.