"back to top" refuses to work
Hi,
I'm trying to make a mobile version of my site, via PhoneGap. The code I'm using for a "go back to the top" button, is simply:
- <!-- so we can jump back to top =)) -->
- <div id="topFixer" style="width: auto; height: auto; top: 10px; right: 10px; position:fixed; z-index: 1000; color: #fb8335; display:none;">
- <b class="icon icon-arrow-up icon-3x" id="backToTop"></b>
- </div>
The JS code is:
- $(document).on("click","#topFixer", function() {
- $('html, body').animate({scrollTop:0}, 'slow');
- });
This works absolutly fine in FF/Chrome/Safari/IE ... yet won't work when you click it on my Android phone. Anyone got any ideas on whats going on? I'm at my wits end with it 
UPDATE - I'm using Android 2.2 (which it won't work on)... yet it works fine on Android 4 on my brothers Samsung!!!!)
TIA
Andy