Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

what is wrong with this jQuery scrolling code?

$
0
0

Could someone please let me know what is wrong with this piece of code used to scroll to a particular element. This code works/scrolls properly in Google Chrome but not in Internet Explorer 10.

$('html, body').scrollTop($('#outer').offset().top);

I am using this in document.ready event and in a web part page.

Thanks for any pointers!



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>