471,853 Members | 1,633 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,853 software developers and data experts.

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 1438
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
NeoPa
reply views Thread by NeoPa | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.