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

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

c++ - llvm function pass ReplaceInstWithInst malloc -

python - malformed header from script index.py Bad header -