---
title: "Scrollbottom js not working in Firefox, Chrome, Safari"  
description: "Scrollbottom js not working in Firefox, Chrome, Safari"  
author: "marcel ethan"  
published: 2013-05-03  
updated: 2013-05-03  
canonical: https://www.mindstick.com/forum/797/scrollbottom-js-not-working-in-firefox-chrome-safari  
category: "javascript"  
tags: ["javascript"]  
reading_time: 1 minute  

---

# Scrollbottom js not working in Firefox, Chrome, Safari

Hi Mindstickians!\
I've used scrollbottom [javascript](https://www.mindstick.com/articles/874/how-to-create-watermark-text-for-textbox-by-using-javascript) with JQuery (1.3.2/jquery.min.js) to scroll to a particular div in the below of the page. It is [working fine](https://answers.mindstick.com/qa/95550/why-is-the-safari-browser-not-working-fine) in IE 8 &[amp](https://www.mindstick.com/forum/156207/what-is-amp); 9 but it this \
functionility is not working in [Firefox](https://www.mindstick.com/forum/159398/any-way-to-disable-firefox-4-textarea-resizing-handles-please-help), [Chrome](https://www.mindstick.com/blog/303260/discover-google-s-latest-ip-protection-privacy-test-feature-in-chrome), Safari. I [mean](https://yourviews.mindstick.com/view/80768/what-does-real-minority-mean) scrolling [functionality](https://www.mindstick.com/blog/136/using-watermark-functionality-in-textbox-by-jquery) is working but the div [text](https://www.mindstick.com/blog/301635/did-people-reinvent-texting-to-express-the-full-range-of-emotions) is not showing. I used like:\
<a href="#about">About Us</a> Top div\
<a [name](https://yourviews.mindstick.com/view/87450/how-to-generate-a-brand-name-using-linkedin-comprehensive-guide)="about">Description</a> Bottom divAny idea to make it workable in Firefox. Appreciate for your kind advice. \
Thank you.\

## Replies

### Reply by AVADHESH PATEL

Hi Marcel!\
Try as following!\
I don't see in the Fiddle above the code for scrolling down, but you can try like in this Fiddle. But that's correct, you should use the latest jQuery version.\
What I added in the JS:\
$('#firstdiv').on("click", function(){ $('html, body').animate({"scrollTop" : $(document).height() - $(window).height()});});


---

Original Source: https://www.mindstick.com/forum/797/scrollbottom-js-not-working-in-firefox-chrome-safari

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
