I am currently using the jquery plugin Tabledit and when i use an inline edit as in example 3 it calls my php page. I have no idea how to pass the changes I made in the edit to the new php page so i can change it in the database. it changes when you hit enter. (im guessing on enter it calls the edittask.php)
html here is one section of the table. it changes on hitting enter after you type in new text.
<td class="tabledit-view-mode"> <span class=" tabledit-span ">header text</span>
<input class="tabledit-input form-control input-sm" type="text" name="description" value=" " style="display: none;" disabled="" />
</td>
javascript
$('#thetable').Tabledit({
url: 'editTask.php',
editButton: false,
deleteButton: false,
columns: {
identifier: [0, 'id'],
editable: [
[1, 'Header'],
[2, 'Description']
]
}
});
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire