Jump to content

Reload current page using javascript ?


vmars316
 Share

Recommended Posts

There's the reload() method of the location object http://www.w3schools..._loc_reload.asp
Thanks fm ,I see this :< assign() Loads a new document reload() Reloads the current document replace() Replaces the current document with a new one > Is there a way to Stop or Abort javascript , not only current Function , but stop all javascript processing... I notice that here : http://jsdo.it/B12AE002/m83kThey do a PLAY , STOP , and a RELOAD .Thanks.. Edited by vmars316
Link to comment
Share on other sites

There's no way to stop Javascript using Javascript. To leave a function you can use return. If you put the entire program inside a function you can use the return keyword to stop the program when you want to.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...