vmars316 Posted April 28, 2013 Share Posted April 28, 2013 Hello & Thanks ,Is there a way to reload current page using javascript ? Thanks..vm Link to comment Share on other sites More sharing options...
Ingolme Posted April 28, 2013 Share Posted April 28, 2013 There's the reload() method of the location object http://www.w3schools.com/jsref/met_loc_reload.asp 1 Link to comment Share on other sites More sharing options...
vmars316 Posted April 28, 2013 Author Share Posted April 28, 2013 (edited) 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 April 28, 2013 by vmars316 Link to comment Share on other sites More sharing options...
Ingolme Posted April 28, 2013 Share Posted April 28, 2013 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 More sharing options...
vmars316 Posted April 29, 2013 Author Share Posted April 29, 2013 THanks.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now