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を使用してコンテンツが表示されるページを作成しようとしています。 ユーザーが Web サイトにアクセスすると、コンテンツがデータベースから読み込まれます。 データベースからの新しいデータのロードをトリガーするボタンを同じページに追加したいと思います。どうすればいいですか?:)
以下のようなものがあなたが始めるのを助けるはずです:
$(function() { $.ajax({ type:'POST', url:'path/to/database file', success: function() { $("body").append(whatever you want to add); } }); });