In javascript, execute a function when the first function is ready

Posted by Cinaird on Stack Overflow See other posts from Stack Overflow or by Cinaird
Published on 2010-05-01T12:31:41Z Indexed on 2010/05/01 12:37 UTC
Read the original article Hit count: 217

Filed under:
|
|

Is there any way, in javascript, to call on a other function when the first function is "ready"

something like this:

ridiculousTimeConsumingFunction().onReady( newFunction() );

To illustrate my example you can take a look her: http://web.cinaird.se/pdf/test.htm

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about onready