Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm
Đã giải quyết Đã lưu trữ

How do I get this script to work with Firefox?

Handwriter

This "Go To Top of Page" button will not work with Firefox 5.0.What do I need to do inorder to have it function correctly?

This "Go To Top of Page" button will not work with Firefox 5.0.What do I need to do inorder to have it function correctly?

Tất cả các câu trả lời (3)

#top only work if that link is present in the page code.

You can try this code:

<form><center><input type="button" value="Click to go to the top of the page." onclick="document.getElementsByTagName('html')[0].scrollTop=0;"></center></form>

Được chỉnh sửa bởi cor-el vào

Giải pháp được chọn

Handwriter you are actually using Firefox 3.6.13 based on your useragent (look at end, not beginning). The Mozilla/5.0 is on all Firefox releases. Firefox 5.0 will not be out for quite some time yet as 4.0 has yet to be released.

cor-el,

Thank you. That worked just fine! Now the button works with most browsers.