I am using a table to view some of the data, the table looks like below
<table>
<tr>
<th>Id</th>
<th>Name</th>
<th>Salary</th>
</tr>
<tr>
<td>1</td>
<td>Imthi</td>
<td>30000</td>
</tr>
</table>
I want to edit the salary column in the above table when I double click that column. Can anyone help me achieve this?
ondblclick="return editColumn(\''.$UniqueId.'\');"
use Ajax to call a page edit.php
edit.php
---------
Show text box with value, SAve and Cancel Button
save.php
---------
click Save - call the ajax function pass the Id and Value to this page Use query to update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With