You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Javascript window.location not working

microsoft.public.internetexplorer.general

Moving from IE7 to IE8 have found that javascript window.location (nor .href
for that matter) does not do anything when redirecting to same page with
different parameters in the url (it actually changes to a different page, but
not to the same with different parameters or values). It works fine if it
opens a new window.

Jaume wrote:
> Moving from IE7 to IE8 have found that javascript window.location (nor .href
> for that matter) does not do anything when redirecting to same page with
> different parameters in the url (it actually changes to a different page, but
> not to the same with different parameters or values). It works fine if it
> opens a new window.

Not that much into Javascripting but shouldn't you be using
parent.<func> instead of window.<func> if you want to change the
contents inside the same page?

A *.javascript newsgroup would have a community more focused on your
Javascripting problem.

"VanguardLH" wrote:
> Jaume wrote:
>
> > Moving from IE7 to IE8 have found that javascript window.location (nor .href
> > for that matter) does not do anything when redirecting to same page with
> > different parameters in the url (it actually changes to a different page, but
> > not to the same with different parameters or values). It works fine if it
> > opens a new window.
>
> Not that much into Javascripting but shouldn't you be using
> parent.<func> instead of window.<func> if you want to change the
> contents inside the same page?
>
> A *.javascript newsgroup would have a community more focused on your
> Javascripting problem.
>