I\'m using Asp.net MVC and I want my partial view to refresh on an interval, which it does until I make an unrelated Ajax request, then it stops.
Here are a few simp
Wrapping ajaxRefresh in an anonymous function and calling it with parentheses works for me. So your second-last line of code would be like setInterval(function () { ajaxRefresh() }, 1000).
ajaxRefresh
setInterval(function () { ajaxRefresh() }, 1000)
I don't understand it either.