Monday, March 11, 2013

jQuery / Refresh page


1. jQuery. How to refresh page with JavaScript using jQuery?

Paste code between <body></body> tags.
Now you can refresh page. That's all;)

If you dont believe me( ;) ) that page was reloaded just click on "Insert new text" link and you will see that text have changed in "placeToInsertText" div.
Now click "Refresh my page" link and page will be refreshed.



Refresh my page
Insert new text
My text number 1.

No comments: