In JavaScript, what is the difference between window.location and form.submit() (GET with no parameters)?
I have seen people using form.submit() (GET method with no parameters) over window.location for just a simple redirection of page. Why? and what are the benefits of that? Is that some kind of hack to achieve something?
AFAIK, form.submit() leaves a trailing ? behind the URL even where there is no parameters and that bugs me a little.