$(document).ready(function(){
setInterval(function(){
$.post('test.php', { someParameter: 'someValue' }, function(data){
$('#my-container').html(data);
});
}, 30000);
});
More Related Contents:
- How to send data to the server via Ajax?
- “Mixed content blocked” when running an HTTP AJAX operation in an HTTPS page
- how to assign javascript variable value to php variable
- How to replace html element with ajax response?
- How to replace the entire html webpage with ajax response?
- How to hide css and js version details from weppalyzer in PHP
- My games being hacked easily by right click inspect. How can i prevent this?
- How to send FormData objects with Ajax-requests in jQuery? [duplicate]
- Refresh/reload the content in Div using jquery/ajax
- Set timeout for ajax (jQuery)
- Load More Posts Ajax Button in WordPress
- Using HTML5 file uploads with AJAX and jQuery
- Pass Javascript variable to PHP via ajax
- How to refresh page on back button click?
- Send FormData and String Data Together Through JQuery AJAX?
- How to set selected value of jQuery Select2?
- How to prevent page from reloading after form submit – JQuery
- How to convert HTML to JSON using PHP?
- Keep input value after refresh page
- send json object from javascript to php
- jQuery AJAX Call to PHP Script with JSON Return
- How can I return a view from an AJAX call in Laravel 5?
- How can I get all a form’s values that would be submitted without submitting [duplicate]
- How do I edit PHP variable with JavaScript/jQuery?
- how to use jQuery ajax calls with node.js
- How do I refresh a DIV content?
- Chained Select Boxes (Country, State, City)
- Twitter-style autocomplete in textarea
- How to send secure AJAX requests with PHP and jQuery
- How to submit checkboxes from all pages with jQuery DataTables