function doPoll(){
$.post('ajax/test.html', function(data) {
alert(data); // process results here
setTimeout(doPoll,5000);
});
}
More Related Contents:
- How to get the class of a div on click [closed]
- WordPress how to use jquery and $ sign
- What does “async: false” do in jQuery.ajax()?
- Jquery Ajax Posting JSON to webservice
- Set value of textarea in jQuery
- Disabling submit button until all fields have values
- Can I get div’s background-image url?
- How to use free jqgrid properties to conditionally add actions buttons
- Fire event each time a DropDownList item is selected with jQuery
- Close Bootstrap Modal
- CSS selector case insensitive for attributes
- browser.msie error after update to jQuery 1.9.1
- Reload chart data via JSON with Highcharts
- What is the simplest jQuery way to have a ‘position:fixed’ (always at top) div?
- Capturing “Delete” Keypress with jQuery
- Select elements without any class [duplicate]
- find elements that are stacked under (visually) an element in jquery
- What is the difference between async:false and async:true in jquery ajax?
- JQuery data selector not updating with .data
- :nth-of-type() in jQuery / Sizzle?
- GUI-based or Web-based JSON editor that works like property explorer [closed]
- Maintain PHP Session in web app on iPhone
- Validating array inputs using jquery validation plugin
- Using jQuery how do I select a range of rows?
- Jquery find all ids starting with a string?
- Datatables warning(table id = ‘example’): cannot reinitialise data table
- jQuery on load of dynamic element
- jQuery: find input field closest to button
- How to include JavaScript files by h:outputScript? [duplicate]
- jQuery AJAX call results in error status 403