Javascript examples for jQuery Method and Property:html
JQuery get html content INSIDE div
<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> </head> // www .ja va 2s .com <body> <div id="content-slider"></div> <script> (function($) { var loading = $("<p>").html("Loading...").appendTo(document.body); $("#content-slider").parent().load("/my/1 #content-slider", function() { loading.remove(); }); })(jQuery); </script> </body> </html>