1rosehip / 1rosehip/jplist

how to call funtion after load the page ?

オープン
#262 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The issue is about initializing jPList after dynamic content loads. Look at the jPList initialization code and the project's examples to see how it handles dynamic lists. Check if there's a callback or event to re-initialize after AJAX content loads. Test with a simple HTML page that mimics the dynamic loading scenario.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, jquery, php
領域
frontend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
50/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。