I think the only significant difference is that the window.location.replace() method will replace the most current history item opposed to creating a new one...nothing really to special
@kgscrott284, thanks. I did some research and at least for what im trying to accomplish its either (POE-tae-toe) or (POE-ta-tow)... im going to stick with replace. Thanks
Can anyone inform me the advantages or personal preferences when using either window.location.href or window.location.replace?
My Code:
window.location.replace()method will replace the most current history item opposed to creating a new one...nothing really to special