Connecting Tech Pros Worldwide Forums | Help | Site Map

parent.frames.textFrame has no properties when app deployed on linux server

Newbie
 
Join Date: Jun 2007
Posts: 1
#1: Jun 1 '07
Hi,
I am new to javascript, can someone help to resolve the javascript issue:

I am trying code

outputString += '<a href="#" onclick="parent.frames[\'textFrame\'].funn(true);return false"><img alt="Close" align="right" src="'+CloseMenuIconSrc+'" border="0" width="16" height="16"/></a>';


This works fine in IE but for mozilla firefox giving error
- parent.frames.textFrame has no properties

this also works fine on windows, but it gives error when i deploy the same code on linux server

I have tried
window.top.frames['textFrame'].funn
parent.framename.funn(true);
But that does not work

Please help me,
Thanks in advance

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Jun 4 '07

re: parent.frames.textFrame has no properties when app deployed on linux server


See this link - explains how to access frames properly.
Reply