How To Get jQuery DataTables Pagination and jEditable To Work Together
erics, May 23rd, 2012
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
function editableInit() { jQuery('.editable').editable( '/your/path/to/process_your_update.html', { type: 'text', width: 200, cancel: 'Cancel', indicator: 'Saving...', onblur: 'ignore', submit: 'OK', tooltip: 'Click to edit...' } ); } editableInit(); jQuery('.paginate_button').live('click', function(){ editableInit(); }); jQuery('.dataTables_length select').live('change', function(){ editableInit(); }); |