Hi Prateek, 

sorry, I don't get the point. 

You asked for "a way to catch the value that is being returned by
someFunction()", but in your code example below, you already use that
value and assign it to the varialbe "returnedResult". 

I simply don't understand what you are asking for  ;-)

cheers, 

Lothar


Am Donnerstag, den 03.08.2006, 22:36 -0700 schrieb sharmaprateek:
> 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.


-------------------------------------------------------------------------
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