var loader = $('div.ajaxloader').fadeIn(500)
$('#ajax-placeholder').load('/content_to_load.php', function(){
// This is a callback function
loader.fadeOut(500)
})
Something like that.
The div.ajaxloader is for you to style correctly with css to make it
appear in the middle of the page, or
I've written a few, but there's a whole bunch out there (http://
docs.jquery.com/Tutorials).
Using Ajax to validate forms:
http://jqueryfordesigners.com/using-ajax-to-validate-forms/
Ajax'ifing forms (screencast):
http://remysharp.com/2007/03/05/jquery-ajaxed-forms/
What you're after boils
2 matches
Mail list logo