Hello Community,

I am able to access a global function in the child iFrame using the
following syntax

yourQxIframeInstance.getContentWindow().yourGlobalFunctionInTheIframeDocument()

but now I also want to know what value does the function being called is
returning.. at the moment the above mentioned calling method does not catch
the value being returned..

Consider the following scenario..

I have an iframe instance in a simple document.




// -- Parent window

w1 = QxIframe("abc.html");

var returnedResult = w1.getContentWindow().someFunction();

alert returnedResult;




/// --- w1 iframe has the following function ---

function someFunction()
{
     if (someCondition)
     {
            return true;
     }
     else
     {
            return false;
     }
}
///////// ------ the end ------





Can anyone please help me out and tell me a way to catch the value that is
being returned by someFunction()

Thanks & Regards,
Prateek.
-- 
View this message in context: 
http://www.nabble.com/Problem-in-function-calls..-tf2049408.html#a5645006
Sent from the qooxdoo-devel forum at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to