Possible Duplicate:
Difference between window.location.href=window.location.href and window.location.reload()
Is there any difference between these two lines of code, if yes, please enlighten me.
1.
window.location.reload();
2.
window.location = document.URL;