SyntaxFix
Write A Post
Hire A Developer
Questions
You can save the current scroll amount and then set it later:
var tempScrollTop = $(window).scrollTop(); ..//Your code $(window).scrollTop(tempScrollTop);