Javascript examples for jQuery Method and Property:ajax
JQUERY refresh after ajax call
<html> <head> <title>test</title> <script src="https://code.jquery.com/jquery-latest.js"></script> <script> $(function() {/*from w w w. j a v a2 s.c o m*/ startRefresh(); }); function startRefresh() { setTimeout(startRefresh,1000); $.get('ajaxstatus.php', function(data) { $('#content').html(data); }); } </script> </head> <body> <div id="wrapper"> <div id="content"></div> </div> </body> </html>