datatable - jquery is not working when show table from ajax request page -


i using datatable plug-ins. when showing table ajax request page jquery function not working.

$(document).ready(function() { $('#example').datatable(); });

you need call $('#example').datatable(); after ajax call finished (on success function example).


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -