Peter Schoenster wrote:
> I will only make on query of the database and then create the page.
> The list of job numbers and their descriptions will be saved to
> javascript arrrays. I have already done this with javascript. When a
> person enters the job number the javascript verifies based on the
> arrary that is in the page already and then it gets the right
> description from the other array that is already in the page. I have
> this working with an alert that is really bothersome. If it could
> write to the space below where the user enters the job number then
> that would be ideal.
>
> Your saying that it can be done is a push to get me discovering how.
A quick and somewhat dirty solution that comes to mind using just javascript
would be to place an <input type=text box under (or above or next to) the
drop down list, then write the description into value= for the text box (you
could also use a select box, load the select list with the description array
using option=, then set the selected option value so the description for the
selected job is shown).
I haven't done much with javascript and nothing with DHTML, but re:
javascript, I don't remember ever seeing a method to just change some text
on a page, which is what you're trying to do. Maybe some poking around at:
http://developer.netscape.com/docs/manuals/communicator/jsref/
will help. If you find a non-DHTML solution, please let me know, I have a
project coming up that will need that exact same functionality.
TIA,
Jack
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------