javascript - Uncaught TypeError: Object [object Object] has no method 'editable' -
i working try implement jquery datatables jeditable plugin @ http://www.appelsiini.net/projects/jeditable. have:
<script language="javascript" type="text/javascript"> $(document).ready(function() { /* init datatables */ var otable = $('#mydatatable').datatable(); /* apply jeditable handlers table */ $('td', otable.fngetnodes()).editable( 'js/datatables/examples/examples_support/editable_ajax.php', { # line 25 "callback": function( svalue, y ) { var apos = otable.fngetposition( ); otable.fnupdate( svalue, apos[0], apos[1] ); }, "submitdata": function ( value, settings ) { return { "row_id": this.parentnode.getattribute('id'), "column": otable.fngetposition( )[2] }; }, "height": "14px" } ); } ); </script>
in chrome dev tools see:
uncaught typeerror: object [object object] has no method 'editable'
on line 25. how can fix this?
i think problem have not included library file in page.
included jquery.jeditable.js
file in page , check
Comments
Post a Comment