how to call funtion after load the page ?
- 主要语言
- HTML
- 星标
- 435
- 派生
- 168
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
这个仓库没有索引到贡献指南
调研方向
该 issue 涉及动态内容加载后初始化 jPList。查看 jPList 的初始化代码和项目示例,了解它如何处理动态列表。检查是否有回调或事件可在 AJAX 内容加载后重新初始化。使用模拟动态加载场景的简单 HTML 页面进行测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, jquery, php
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100