Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: onLoad doesn't works in netscape 7 ??


Message #1 by "suneesh vr" <suneeshvr@h...> on Thu, 17 Oct 2002 17:35:37 +0000
At 5:35 PM +xxxx xx/xx/xx, suneesh vr wrote:
>Hi
>This code is not working in netscape .Please help
>
><script language="javascript">
>function refreshParentComponent()
>{
>alert("Inside  the function");
> 
>	//alert(parent.document.getElementById("div_narrow_UIFavourites").innerHTML);
>	//alert(document.getElementById("ComponentData").innerHTML);
> 
>	//parent.document.getElementById("div_narrow_UIFavourites").innerHTML 
>= document.getElementById("ComponentData").innerHTML;
>}
></script>
></head>
><body onLoad="refreshParentComponent()">
>
>

I just cut and pasted your code into an html file exactly as is, 
without even adding <html><head> to the top or </body></html> to the 
end, and without removing the commented-out lines.  It still worked 
fine in N7 on a MAC under OS-9.

What kind of platform are you testing it on, and what kind of error 
are you getting?

--Greg


  Return to Index