java script problem

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

1 Answer

0 like 0 dislike
answered Aug 28, 2012 by FixHost (12,380 points)
Hi meera-b

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