One way would be to store all the row contents in hidden fields. When a row
is clicked use JavaScript to write the values of the hidden field to the
textfield. Do the opposite before writing a new string to the text field
(store the changed value in the corresponding hidden field). Then maybe use
another hidden to track which values have been changed so you don't have to
update all the values in the DB if only a few have changed. You can also
use DHTML, putting the displayed values inside SPAN tags so that the text
can be dynamically rewritten without reloading the page.
----- Original Message -----
From: Sandy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 1999 2:36 PM
Subject: Doubt in HTML
> Hi all,
> Using Servlet and JDBC we are displaying all rows in a table format. If
the
> table row is clicked that row content should be displayed in a textfield
so
> that it can be used for updation or deletion. Is that possible. In HTML
how
> to get the row [column] content in a table.
>
> Thanks
> SR
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html