jquery-tabledit
jquery-tabledit copied to clipboard
TypeError: undefined is not a function (near '...$('#editable_table').Tabledit...')
Hi,
I am new to query programming and I could not figure out what the problem is. It seems that the class "Tabledit" could not be found or something. The code is below.
Does anyone know the cause of this problem?
Code: $(document).ready(function(){ $('#editable_table').Tabledit({ url: 'action.php', columns: { Identifier:[0,"ID"], editable:[[1, 'Ecode'], [2, 'ItemName']] }, restoreButton: false, onSucces:function(data,textStatus,jqXHR){ if(data.action == 'delete') { $('#'+data.ID).remove(); } } }); });
try swapping the link library and your handler function @