I have the following code and want to basically write something out, let it sit for a while, and then write something else out...how do I do the pause/wait?
Thanks! myURL="getSearchResults.php"; $.getJSON(myURL, function(data) { for (var i=0; i < data.length; i++) $("#searchResults").html(data[i]); //I want to pause here.... });