Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   How can when select change run a event (http://www.velocityreviews.com/forums/t792546-how-can-when-select-change-run-a-event.html)

Jack 01-09-2004 01:59 AM

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.


Tom B 01-09-2004 02:59 AM

Re: How can when select change run a event
 
This would be done client-side.
A javascript newsgroup would probably be a better place to try.

"Jack" <significance200310a@noyahoo.co.jp> wrote in message
news:%23fz$MRl1DHA.2544@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.
>




Jack 01-09-2004 04:05 AM

Re: How can when select change run a event
 
Thank you



All times are GMT. The time now is 10:43 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.