> Okay, I'm not familiar with aspx or anything, but I think I know what
> your trying to do.
[quoted text clipped - 13 lines]
> Thats just off the top of my head and I don't use JS much so it might
> not be 100% correct.
I assumed the user was using java (perhaps jsp) to access the database and
to display the data in text boxes.
Since the text boxes are created at the time of creating the html page, I
assumed the OP was asking the wrong question, or made wrong assumptions.
Java does not access the page after it has been rendered - but JAVASCRIPT
can. But Javascript can not access the database.
The best solutions involves html, css, java, servlets, and javascript.
Oliver Wong - 22 Mar 2006 18:38 GMT
> Java does not access the page after it has been rendered - but JAVASCRIPT
> can. But Javascript can not access the database.
JavaScript can ask the browser to make an HTTP request. In responce to
this request, the HTTP server can query the DB, then formulate an XML
document representing the results of the query, and return that to
JavaScript.
That's the basis on which AJAX is built.
- Oliver
Hal Rosser - 23 Mar 2006 03:42 GMT
> > Java does not access the page after it has been rendered - but JAVASCRIPT
> > can. But Javascript can not access the database.
[quoted text clipped - 7 lines]
>
> - Oliver
Ah yes - AJAX
But keep in mind that client-side javascript still does not access the
database
- the request you speak of is sent to the server,
and then javascript can process the response the server returns.
Java still does not access the text box.
(We agree.)