This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Is it possible? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Is it possible?" Watch "Is it possible?" New topic

Is it possible?

moneer mohammed
Ranch Hand

Joined: Feb 18, 2005
Posts: 66
I am doing some project where i have t display some data to the client in tabular format
And user can select whatever row he wants to update by clicking on userId
And data for that row should come in new page in editable format (like using text filed)
So how to do it by using client side technology(javascript�..)
As it is not logical go back to the server to get the data
Thanks in advance

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Yes it is possible.

You either need to have all the textboxes on the page already and have the visibility set to hidden. When they are to be edited, you hide the text and show the textbox.

You could also could create textboxes on the fly.


You could set up the textboxes to look like the cell with css, set it to readOnly and than flip readOnly off and change the style a bit so people know they can edit.

I am giving suggestions, not going to code the thing for you.

I agree. Here's the link:
subject: Is it possible?