Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Editing Table Row Values ?
07-17-2012, 10:51 AM #1
- Join Date
- Mar 2009
- Thanked 0 Times in 0 Posts
Editing Table Row Values ?
I'm using basic HTML to create a table. 8 columns wide and multiple rows.
Due to it's size it can take several seconds to get the data and present it on screen.
When the data is displayed I would like to be able to double click on a row and have that row editable.
Each row will need to be a form as there are hidden values I need to submit as well as the cell data.
1. is this possible ?
2. any ideas ?
I've found a couple of scripts, but nothing that is similar to this.
07-17-2012, 07:16 PM #2
- Join Date
- Jan 2011
- Thanked 667 Times in 666 Posts
You really don't need forms for this. Your server side script will know what row was edited and know what those hidden values are so a form is not needed.Each row will need to be a form as there are hidden values I need to submit as well as the cell data.
Study this for many ways to change the DOM http://www.w3schools.com/js/js_ex_dom.asp
Personally I would use something like a shadow box LIKE div to display the row for editing.