Javascript examples for jQuery Method and Property:ajax
Append to page from ajax call
<html> <head lang="en"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> </head> <body> <div id="loadedContent"></div> <script> $.get("http://java2s.com", function(data) { $('#loadedContent').append(data); });/*w w w . ja v a 2 s. co m*/ </script> </body> </html>