change text value on changing combo

change text value on changing combo

am 02.01.2008 09:00:23 von vinodkus

dear sir/madam
I have a combo which has 2 values
I want when its value is changed then its value should be display in a
text box.
Thanks In Advance

Re: change text value on changing combo

am 02.01.2008 11:16:18 von exjxw.hannivoort

wrote on 02 jan 2008 in microsoft.public.inetserver.asp.general:

> dear sir/madam
> I have a combo which has 2 values
> I want when its value is changed then its value should be display in a
> text box.
> Thanks In Advance

dear madam/sir,

Classic ASP knows of no comboboxing, nor of text boxing.

I think you are barking up the wrong NG tree in this new year.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: change text value on changing combo

am 02.01.2008 12:50:13 von reb01501

vinodkus@gmail.com wrote:
> dear sir/madam
> I have a combo which has 2 values

There is no such thing as a "combo" in html. You should refer to it as a
"select" element.

> I want when its value is changed then its value should be display in a
> text box.

Client-side scripting questions should be posted to a group like
microsoft.public.scripting.jscript.

In the meantime, use the select's onchange event to change the value of the
input element.

onchange="getElementById("id_of_input").value = this.value;" ... >

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Re: change text value on changing combo

am 03.01.2008 07:03:06 von vinodkus

I m using but it does not show any respnse please correct my code.
Thanks in Advance













Bob Barrows [MVP] wrote:

> vinodkus@gmail.com wrote:
> > dear sir/madam
> > I have a combo which has 2 values
>
> There is no such thing as a "combo" in html. You should refer to it as a
> "select" element.
>
> > I want when its value is changed then its value should be display in a
> > text box.
>
> Client-side scripting questions should be posted to a group like
> microsoft.public.scripting.jscript.
>
> In the meantime, use the select's onchange event to change the value of the
> input element.
>
> > onchange="getElementById("id_of_input").value = this.value;" ... >
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"

Re: change text value on changing combo

am 03.01.2008 09:33:43 von exjxw.hannivoort

wrote on 03 jan 2008 in microsoft.public.inetserver.asp.general:

> Bob Barrows [MVP] wrote:
>> Client-side scripting questions should be posted to a group like
>> microsoft.public.scripting.jscript.

[Please do not toppost on usenet]

> I m using but it does not show any respnse please correct my code.

Please do not go on using the wrong NG!

Bob pointed that out to you ASP is serverside coding.

Try the above advised NG or with even more chance of help:

comp.lang.javascript

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)