I looked at Google and StackOverflow, but so far I have not been able to find what I need. If someone could point me in the right direction, that would be great.
I have a table with 5 rows
<tr> <th scope="row" class="table-check-cell"><input type="checkbox" name="selected[]" id="table-selected-1" value="1"></th> <td>123456</td> <td>Address 1</td> <td>10th Feb 2011 (10:43am)</td> <td><ul class="keywords"> <li class="pink-keyword">Awaiting Reply</li> <li class="purple-keyword">Direct</li> </ul> </td> <td>(Notes Text)</td> <td>1</td> <td class="table-actions"> <a href="#" title="View" class="with-tip"><img src="images/magnifier.png" width="16" height="16"></a> <a href="#" title="Edit" class="with-tip"><img src="images/pencil.png" width="16" height="16"></a> <a href="#" title="Validate" class="with-tip"><img src="images/navigation.png" width="16" height="16"></a> <a href="#" title="Close" class="with-tip"><img src="images/cross-circle.png" width="16" height="16"></a> </td> </tr>
What I want to do is edit the <td>(Notes Text)</td> value in the table cell by clicking on it so that it changes to the input field (currently displaying what is in the cell) so that it could be edited and saved by clicking it again.
I have (very) basic knowledge in jQuery, but excellent with the upgrade side of things using PHP / MySQL.
Any help would be great.
thanks
source share