Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 10:59 AM
Jack
Guest
 
Posts: n/a
Default 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.

  #2  
Old July 19th, 2005, 10:59 AM
Tom B
Guest
 
Posts: n/a
Default 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...[color=blue]
> 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[/color]
example[color=blue]
> when select1 is selected "Two" text1 shows 2.
> I wait your advice.
>[/color]


  #3  
Old July 19th, 2005, 11:00 AM
Jack
Guest
 
Posts: n/a
Default Re: How can when select change run a event

Thank you

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles