How can I refresh a page with javascript?

In jQuery you can trigger an event and call this same function
 

Editorial Staff
 

Editorial Staff at tutsplanet is a dedicated team to write various tutorial articles.