
Untitled
By: a guest on
Jun 18th, 2012 | syntax:
JavaScript | size: 0.23 KB | hits: 17 | expires: Never
function doAjax(x) {
$.ajax({
method: "GET",
url: "plugins.php?do=" + list[x],
success: function(res) {
$('#ajaxDiv').html(x + " - " + res + "<br />" + $('#ajaxDiv').html());
}
});
}
setTimeout(doAjax(x), 20000);