[Javascript] location.href fails in Firefox
Del Wegener
del at delweg.com
Mon Jun 18 14:24:51 CDT 2007
I agree that I should use location.href = myURL, but that does not fix the problem. It still does not work in FF./
Del
----- Original Message -----
From: Peter Brunone
To: javascript at LaTech.edu
Sent: Monday, June 18, 2007 2:01 PM
Subject: re: [Javascript] location.href fails in Firefox
Last time I checked, location.href was a property and not a method. IE may have a supplemental attribute for this, but the standard way to do it is
location.href = myURL
rather than the approach below.
Cheers,
Peter
------------------------------------------------------------------------------
From: "Del Wegener" del at delweg.com
Good Day;
I compute myURL and then change the page with the statement
location.href(myURL).
This works fine when viewing the site with IE6 or IE7, but fails when
viewing the page with Firefox.
I have inserted an alert statement as an attempt to debug and myURL is
computed correctly and is exactly the same regardless of the browser.
Does Firefox treat location.href differently?
What must I do to fix this ?
Thanks for any help
Del
del at delweg.com
------------------------------------------------------------------------------
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20070618/8907dfb8/attachment.htm>
More information about the Javascript
mailing list