I have a splitter pane with a scrollbar and I'm try to do a simple scroll to top with jQuery.
Here is the Javascript:
Problem is, it doesn't work. Not matter if you give the ID of the pane or splitter itself, nothing works. Is there a simple fix for this or am I missing something?
Here is the Javascript:
$('a[href=#top]').click(function () { $('html, body').animate({ scrollTop: 0 }, 'slow'); return false; });Problem is, it doesn't work. Not matter if you give the ID of the pane or splitter itself, nothing works. Is there a simple fix for this or am I missing something?