[eluser]benfike[/eluser]
Hi!
I use jeditable for inline edit. It work, but there is a little problem.
It is update the database query with the new value, but on the page when I hit the enter changed div value to ="Click to edit..". I want update the div value with the posted new value, without refresh page.
Code:
[removed]
$(document).ready(function() {
$('.edit').editable('<?=site_url('admin/update/updatePlayerName')?>', {
indicator : 'Mentés...',
tooltip : 'Szerkesztés',
name : 'player_name',
id : 'player_id'
});
});
[removed]
Have this js.
Please help.
There is need a callback or something, please give me example.
Sorry for my english:p