Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14655 reviews 1734 hosting providers

Questions & Answers

java script problem

Aug 28, 2012 by meera-b
I am using firefox for suse linux. My problem is that I I use  the below line in javascript window.location.href="http://www.google.com";  google site does not launch. Is there a problem with this code? Kindly advice
Thanks in advanced

1 Answer

0 votes
Aug 28, 2012 by FixHost
Hi meera-b

The below code works with me, try it instead of your current code
window.parent.location="ur URL"