Here is my code.
What's wrong with my code. it does not show demo_test.txt content in div1.
Please help me.
$(document).ready(function(){
$("button").click(function(){
$("#div1").load("demo_test.txt");
});
});
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Chittaranjan SwainRank #216 · 11.3K reputationPosted Aug 11, 2019, 6:32 PM EDT
Gowtham RamarRank #1,753 · 860 reputationPosted Aug 11, 2019, 7:24 PM EDT
Ravishankar NRank #241 · 10.2K reputationPosted Sep 17, 2019, 7:31 PM EDT