Welcome Guest, Not a member yet? Register   Sign In
jeditable problem
#1

[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
#2

[eluser]benfike[/eluser]
Still have this problem.
#3

[eluser]Unknown[/eluser]
http://ellislab.com/forums/viewthread/61616/
example there.




Theme © iAndrew 2016 - Forum software by © MyBB