> Hm... Still doesn't sound like fun :) I wish there could be a way to do
> something like:
>
> $.load(
> $("myid"),
> url,
> params,
> {
> onStart: function(){someLoader.show();},
> onEnd: function(){someLoader.hide();}
> }
> );
Use $.ajax if you want to write it that way:
$.ajax({
url: url,
beforeSend: function(){someLoader.show()},
complete: function(){someLoader.hide()},
success: function(data) { $('#myid').html(data) }
});
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/