|  | Posted by Jim Higson on 07/03/75 11:44 
decoy@system102.com wrote:
 > Hi everyone,
 >   Does anybody know how I can achieve the following?
 >
 >   I have a table that displays some information in plain text, on each
 > row I have an edit button that will allow the user to enter new values
 > for this row (basically display the same information as before but in
 > text boxes with the edit button replaced with a confirm button).  When
 > the user has updated I would like to go back to the plain text view
 > with the new values.
 >
 > Now comes the hard part ;)
 >
 > I want to do all of this clientside, allowing the user to click on a
 > save button when they have editting that will re-enter all of the
 > information back to the DB.
 
 It can't be done completely client-side, you'd still need a thin server
 script to listen to and validate information from client and enter it into
 the database. This could be done without reloading the client's page
 though, using XmlHttp.
 
 > I've looked into the following but it's not really what I intended:
 > http://www.scheinwelt.at/~norbertf/devel/websheet/
 >
 > Sample code would be greatly appreciated!
 
 What you want can be done with Javascript + DOM without too much fuss, but I
 wouldn't recomend it as a first project in those technologies. Is system102
 a web design company? In which case, maybe you'd be better off outsourcing
 the work?
 
 --
 Jim
 [Back to original message] |