- Welcome to Geeksww.com
Go to Top of the Page Using Javascript
Use the code below:
window.scrollTo(0,0);
Did this tutorial help a little? How about buy me a cup of coffee?
Please feel free to use the comments form below if you have any questions or need more explanation on anything. I do not guarantee a response.
IMPORTANT: You must thoroughy test any instructions on a production-like test environment first before trying anything on production systems. And, make sure it is tested for security, privacy, and safety. See our terms here.
tags cloud
popular searches
free download for mysql database server 5.1.5, bison, gearman, source code, php, install cairo, laptop, mysql, java, linux, install mysql, mysql initialization, mysql mysql, tools, ubuntu
Similar Tutorials:
- Removing Ending Whitespaces from a String (Right Trim), using Javascript
- Javascript: Encoding Values in XML Strings for AJAX / Web 2.0
- Sleep/Pause for specified number of seconds
- How to setup node.js/express.js, compass, bootstrap project
- How to write a function that generates random string in Javascript?
Tutorials in 'Web Development > Javascript' (more):
- How to write a function that generates random string in Javascript?
- Which frontend framework should i learn?
- Bundle, validate, compress javascript files
- How to execute a function at regular intervals using Javascript
- Sleep/Pause for specified number of seconds
Comments (write a comment):
useful function it did what I want to go to the top of the page by programming way. Posted by: Ramy G on Apr 16, 2013
leave a comment