$("[price-refresh-button]").live("click", function (e) {
e.preventDefault();
var message = $(this).attr("ajax-message");
var errorMessage = $(this).attr("ajax-error-message");
var blocked = $("#ProductsContainer");
$.ajax({
url: $(this).attr("url"),
type: "POST",
context: $(this),
beforeSend: function () {
block(blocked, message);
},
success: function (correlationId) {
setTimeout(Hudson.PriceRequest.Summary.PollPriceRefresh(correlationId, $(this).attr('polling-url'), function () {
Hudson.PriceRequest.Tabs.loadProductsAndDocuments();
}), 2500);
},
error: function (xhr, textStatus, errorThrown) {
reportActionErrorResult(errorMessage);
$(blocked).unblock();
}
}); // End Ajax call
===================================
Application breaking on Settime out method saying settimeout method having invalid argument