javascript - Reload an IFRAME without adding to the history -


I'm changing src of IFRAME to reload it, its work is fine and Firing Olload event, when its HTML is loaded.

But it adds an entry in history, which I do not want. Is there any way to reload IFRAM and still does not affect history?

You can use Javascript:

  window.location .replace ('... html');  

Change the current document to the provided URL. The difference from the assign () method is that after using (), the current page will not be saved in session history, which means that the user will not be able to use the back button.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -