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