is there any way i could click on the html table content (<td>) and edit the info, and then click a button to update the modification into a database?
i found the following function off the internet, and it really doesn't do the thing that mentioned above, but just replaces the content with the specified "WORD".
Expand|Select|Wrap|Line Numbers
- function changeContent(){
- var x=document.getElementById('myTable').rows
- var y=x[0].cells
- y[0].innerHTML="NEW CONTENT"
- }