473,419 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

onchange of a dropdown

I need to capture a selected value of the onchange dropdown and put it in a
textbox???

--
Dave
Nov 19 '05 #1
3 1441
"DaveF" <df*****@geodecisions.com> wrote in message
news:uK**************@tk2msftngp13.phx.gbl...
I need to capture a selected value of the onchange dropdown and put it in a
textbox???


What problem are you experiencing when you try to do this?

John Saunders
Nov 19 '05 #2
I just don't know how to do this clietside

--
David Fetrow
Helixpoint LLC.
http://www.helixpoint.com
da***@helixpoint.com
"John Saunders" <johnwsaundersiii at hotmail.com> wrote in message
news:uq**************@TK2MSFTNGP11.phx.gbl...
"DaveF" <df*****@geodecisions.com> wrote in message
news:uK**************@tk2msftngp13.phx.gbl...
I need to capture a selected value of the onchange dropdown and put it in a textbox???


What problem are you experiencing when you try to do this?

John Saunders

Nov 19 '05 #3
"DaveF" <df*****@geodecisions.com> wrote in message
news:e%****************@TK2MSFTNGP11.phx.gbl...
I just don't know how to do this clietside
Ok, you didn't say you had to do it client side!

I'm not a JavaScript wizard, but I suppose that you have to get an
"onchange" event on the dropdown. That event should do something like
"textbox.value = dropdown.value;".

You can add a client-side event to a server-side control via:

dropdown.Attributes("onchange") = "textbox.value = dropdown.value;"

John Saunders
David Fetrow
Helixpoint LLC.
http://www.helixpoint.com
da***@helixpoint.com
"John Saunders" <johnwsaundersiii at hotmail.com> wrote in message
news:uq**************@TK2MSFTNGP11.phx.gbl...
"DaveF" <df*****@geodecisions.com> wrote in message
news:uK**************@tk2msftngp13.phx.gbl...
>I need to capture a selected value of the onchange dropdown and put it
>in a > textbox???


What problem are you experiencing when you try to do this?

John Saunders


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michelle | last post by:
I have tried every variation of the "onchange" statement below without any actual reloading of the page. I am hoping that the PHP PRINT statement is constructed wrong, otherwise it is javaScript...
2
by: Phil Powell | last post by:
I have a form with two single-choice dropdowns. Upon doing an onChange event on either one of them, I want to check to see if the other dropdown has also been selected. How would I do that,...
2
by: Mark Durgee | last post by:
I have a "submit" button in a form that creates a record in my Filemaker database that works as it should. This is the HTML for it: <INPUT TYPE="SUBMIT" name="-New" VALUE="Add Record"> I...
10
by: Ryan McGeary | last post by:
In a <select> drop-down, the onchange event isn't called when scrolling through the dropdown using the mouse-wheel and when crossing over a new <optgroup>. Using the example below, notice how...
1
by: thanawala27 | last post by:
Hi, I am facing some problem with this onchange function with dropdown menu. my task is: i have one column in a table with dropdown menus. so all the cells of that column have dropdown menus. when...
1
by: madhusudangosula | last post by:
I need onchange in javascript for two dropdown list.. I have two dropdown list 1.Activity Type 2.Category At present both are independent to each other... Now the thing is i need to map...
21
by: Leena P | last post by:
i want to basically take some information for the product and let the user enter the the material required to make this product 1.first page test.php which takes product code and displays...
6
by: idj | last post by:
Hi, I'm using the following code to redirect to a new page with a select dropdown, which works fine: <script type="text/javascript"> <!-- function go(){ location= document.FRM_NAME.VALUE_NAME....
16
by: tarunkhatri | last post by:
Hi. I have a javascript function to change the value of the cell on chnage event of a dropdown list.My code is workin but the problem is that the value of the cell is chaning but not respective to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.