472,325 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

option value displayed in textarea


ASP newby here. I have created a database with two data fields and an auto number ID in Access. I have set up an select box to display the categories field in the database and a textarea to display it related value (multiline, multi column).

I can't seem to get the selected value from the select box to display in the textarea when selected. Right now the database info show from the first record shows but won't change when the option is selected.

The database is in 1 table, category and categoryInfo both on the same autonumber ID.

How do I make the textarea data field (categoryInfo) change when the option (category) from the select box is chosen?

Nov 13 '06 #1
3 2035
104 100+
hi, you mean everytime you select in the category the textarea also will change without submitting the page?
Nov 13 '06 #2
Yes, just select the option and view its information in the text area below, this is on the same page.

Does there need to be a submission to the database or the page to display the relevant information?

Nov 13 '06 #3

I know that there doesn't have to be a form submission because I'm not updating the database in any way, in fact it doesn't matter if the drop down box and / or the text area are in a form even though they are form elements because there is no updating.

The information is coming from a record set. If I need to provide more info please let me know but I am still not able to select a category in the drop down and see the displayed information for that category in the textarea.

Nov 16 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: dekern | last post by:
I have been trying to set the default text value of a TextArea element for about a day now without any luck. Similar to the code used to set the...
by: dr.bob | last post by:
Hi :) i just discovered (in gecko-based browsers) that if i dynamically create a TEXTAREA and assign a string to its innerHTML, all works fine...
by: McKirahan | last post by:
Firefox does not reflect selected option via innerHTML How do I get Firefox to reflect selected option values? <html> <head>...
by: Benaron | last post by:
I'm a javascript newbie - so although I can follow scripts and write simple ones, I get stuck when things don't work. I'm trying to have a help...
by: kirke | last post by:
I want to load textarea's value in drop-down box. In first page, such form is existed. <form name="form1" method="post" action="next.php">...
by: anatak | last post by:
Hello I have function that generates a list op options for a select dropdown box here is the function I am pretty sure that the problem is...
by: xhe | last post by:
I met a very headache problem in javascript, I think this might be difference between IE and NS / Safari. I have a text area <form> <textarea...
by: ollielaroo | last post by:
Hi guys, Firstly I did do a search for this one first but I couldn't find anything related in this forum. I am using Dreamweaver MX and trying to...
by: laredotornado | last post by:
Hi, If my variable contains var v = "Hi<BR/>there<BR/>"; and attempt to set the value of my textarea like so: ...
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...

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.