source code
Press Text will disappear.
</pre>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
$(document).ready(function()
$("button").click(function()
$("#div1").load("demo_test.txt");
);
);
<div id="div1"><h2>Let jQuery AJAX Change This Text</h2></div>
<button>Get External Content</button>
Demo
$(document).ready(function()
$(“button”).click(function()
$(“#div1″).load(“demo_test.txt”);
);
);
Let jQuery AJAX Change This Text
03 AJAX
No comments:
Post a Comment