Peter,
Thanks for your comments. While I toy around with dhtml, I'll give them careful
thought. I have to admit, I'm bothered myself by the stuttering movement across the
page.
At 04:04 PM 8/16/98 -0500, Peter J. Schoenster wrote:
>A question, while both you and I are here. I wrote a script to allow
>users to submit time sheets via the intranet. Script gets
>username/password via cookie or asks for it and then creates a time-
>sheet entry form. All job numbers are written to the file via a on-
>the-fly database lookup (only current job numbers can be chosen this
>way). But I want to also show a description of the job number when a
>person enters a job number (they enter it and then a javascript
>routine verifies it is valid). But I want to write the description
>right below the input box where they entered the number. I can the
>javascript to make this work and send an alert with the job
>description but I want to write to the page without re-writing the
>whole page each time. Can I do this via an id with dhtml?????
That could be a bit of a problem, but it's possible. You could write an
"onSubmitJobNumber" script that would query the database (using the id) for the job
description, and layer the response into the page (also called data binding). You'd
be restricting yourself to IE 4.0+ though, as it's the only browser currently able to
perform the task using dhtml. Flat fields as well as ODBC access to the relational
are permitted, and it could be implemented effectively in an intranet. You'd still be
taxing the server with the query, but you wouldn't need to reload the entire page (the
job description could be programmed to "magically" appear below the submission form).
Of course, if you're not already geared toward the MS product, you're talking about a
lot of work for relatively little effect. But I think you already know that.
Jan Cohen
____________________________________________________________________
--------------------------------------------------------------------
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.
---------------------------------------------------------------------