1rosehip / jplist

jPList jQuery Data Grid Controls is a flexible jQuery plugin for sorting, pagination and filtering of any HTML structure (DIVs, UL/LI, tables, etc).
http://jplist.com
Other
436 stars 177 forks source link

how to call funtion after load the page ? #262

Open JahYusuff opened 7 years ago

JahYusuff commented 7 years ago

am using php to load the list dynamically, but the jplist initialiae the function call before page load itself..

i tried following as well..

$('document').ready(function(){ $('#demo').jplist({
itemsBox: '.list' ,itemPath: '.list-item' ,panelPath: '.jplist-panel' }); }); if am using this call applied on empty list "

"

$('document').load(function(){ $('#demo').jplist({
itemsBox: '.list' ,itemPath: '.list-item' ,panelPath: '.jplist-panel' }); }); if am using this , call not applied to the list

1rosehip commented 7 years ago

Are you using ajax to load the list?