none, except you remind me of the onreadystatechange in Ajax.

Cheers!
Shivanand Sharma
Producer and Editor
http://www.binaryturf.com (Web Technology & Blogging)
http://www.advancedphotography.net


On Sat, Nov 29, 2008 at 8:58 PM, joe ertaba <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have a asynchronous function which need unknown time to answer
>
> var a = my_async_function("some inputs");
>
> var b = a + ....
>
>
>
> How can I use such functions ?
>
> My solution :
> I put rest of the code in a function and I ask my_async_function to fire it
> after results are ready ! some thing like this:
>
> var a = my_async_function("some inputs", function(a){ b=a+... } );
>
>
> Any better idea ?
>
> _______________________________________________
> Project_owners mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to