Tazy wrote:
does anyone know the work around using location.href with firefox. it
doesn't work with firefox but fine with ie.
location.href is a *property* you have to assign a value to, not a
method. Because way too many people prefer do not read references but
do whatever *they* think is right, IE team added a support for
location.href(someURL) which is against of any specs but let the above
mentioned people keep on not reading references.
:-) :-|
Change your code from the IE-specific hack
location.href(someURL);
to the proper form supported by all UA's including IE:
location.href = someURL;