Superior Web Solutions 905 532 9642
HOME CLIENTS SERVICES BLOG ABOUT US CONTACT US
Categories:
 Internet Marketing
 iPhone iPad Apps Development
 IT Humour
 IT Industry News
 Search Engines
 User Guides
 Web Development
Browse by tags
Search Blog:
RSS
Subscribe to our newsletter
Name*:
E-Mail*:
Recent Posts
Most Common Screen Resolutions in 2011
Make PHP CAPTCHA more secure
Updated Stats
What Googles New Search Security Measures Mean to You
GoDaddy Mod_Rewrite Problem
What is the default font size in Browsers?
January 31, 2010 - Location.href Fire Fox and Mozilla Problem

Javascript Location.href Fire Fox and Mozilla problem

Problem: location.href('/products.php'); doesn’t work
Solution: location.href='/products.php';
 
Reason: location.href is a property, not a method, and you have to assign a value to it.
 
PS: It works in IE, but not Firefox because Microsoft added support for location.href('/products.php'); since so many people are trying to use it.
Associated tags:  Javascript, Location, Href, Fire Fox, Property, Method
Add Comment:
Name*:
E-Mail: Website:
Your message*:
»
© 2000 - 2012 Superior Web Solutions Web design    Web development    Online marketing