It's quite simple, you just need to attach some ajax.js, and put this on it:
----------
$(function() {
// OUTPUT login
var login_options = { target: '#output-login' };
$('#login').ajaxForm(login_options);
// PUT HERE MORE ajaxForm items...
// BUSY state
$('<div id="busy">Loading...</div>')
.ajaxStart(function() {$(this).show();})
.ajaxStop(function() {$(this).hide();})
.appendTo('body');
});
}
-------
you just need this, its quite nice ;)
but it only works on Firefox, Opera and IE are not compatible with it
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/