Hi Alexandre,

It means that if you have something like this:

$("p").fadeIn("slow",function(){
   alert("Animation Done.");
}).hide();

the hide() method will be called before the function defined in the 
callback.

Rey...

Alexandre Plennevaux wrote:
> sorry if I sound dumb (i probably am), but can someone explain or 
> rephrase this?
>  
> (found on http://docs.jquery.com/How_jQuery_Works )
> 
> 
>     Callbacks, Functions, and 'this'
> 
> A callback is a function that is passed as an argument to another 
> function and is executed after its parent function has completed.
> 
> [now, this is what i don't understand]
> 
> The special thing about a callback is that functions that appear after 
> the "parent" can execute before the callback executes.
> 
>  
> 
> Thanks,
> 
> Alex
> 
> --
> Ce message Envoi est certifié sans virus connu.
> Analyse effectuée par AVG.
> Version: 7.5.441 / Base de données virus: 268.17.32/677 - Date: 
> 8/02/2007 21:04
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to