pixalax
asked on
Jquery jeditable, edit problem
Hello all,
I am using jquery tools + jeditable to edit instantly on the place.
div element
Everything is smooth, I can edit (submitting the data works) but after submitting the data, it is writing "Click to edit". I have to reload the page to see the changes.
Where am I doing wrong and where this "Click to edit" text is coming from? I will be glad if anyone could help me out with my problem.
I am using jquery tools + jeditable to edit instantly on the place.
$(document).ready(function() {
$('.note_edit').editable( site_url+'forms.php?do=edit_note', {
indicator : '<img src="images/icons/loading10.gif">',
name : 'note',
cancel : 'Cancel',
submit : 'OK'
});
});
</script>
div element
<div class="inner">
<div class="note_edit" id="<?php echo $info->id;?>"><?php echo (isset($info->note)) ? $info->note : "Click here to add some notes";?></div>
</div><!--ends .inner -->
Everything is smooth, I can edit (submitting the data works) but after submitting the data, it is writing "Click to edit". I have to reload the page to see the changes.
Where am I doing wrong and where this "Click to edit" text is coming from? I will be glad if anyone could help me out with my problem.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER