Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: window.location vs. window.location.href - July 13, 1998 at 10:20:19

You are here: irt.org | BBS | Re: window.location vs. window.location.href [This BBS is closed]

Posted by Martin Webb on July 13, 1998 at 10:20:19:

In Reply to: window.location vs. window.location.href posted by Jeanette Brown on July 11, 1998 at 19:41:50:

: Could someone tell me the difference between window.location = url
: and window.location.href = url?

: Thanks,
: jb

This one works:

window.location.href = url;

Whereas this one:

window.location = url;

is deprecated, and cannot be guaranteed to work on the latest browsers.


Follow-ups:

You are here: irt.org | BBS | Re: window.location vs. window.location.href [This BBS is closed]

©2018 Martin Webb