Adding data from html table in form fields

Marius
Posts: 59

Adding data from html table in form fields

Hi,
I have a html table with data from mysql database.
To each row in the html table there is an edit button. When i click on the edit button, I want data from the cells of that row to be added into the fields of a form, so to edit it and send to a php script.
Do you have a simple example or a link? I found only complicated variants which I not understand.

Admin
Hi,
Here is a simple and easy example: http://coursesweb.net/javascript/add-da ... -fields_s2
Just study the javascript code, and adapt it to your html table.

Similar Topics