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

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -