Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ポーリングを可能にする jQuery で書かれたもの、またはこのウェブサイトと同様のデータ更新を可能にするプラグインを探しています。
jQuery でこのようなアイデアを思いついた人はいますか? または何かを書く方法は?
preepend() 関数を使用して、div の先頭に display none を追加できます。そして、スライド アニメーションには $("#div-1").slideToggle("slow"); を使用します。
リストを更新するには、setInterval() javascript 関数で定期的にチェックするように ajax 関数を設定し、新しい行で prepend 関数を呼び出すことができます。