I\'m trying to show a simple spinner gif meanwhile a submit is being executed (it takes a bit because I have to establish some communications with providers via web services
Using the jQuery submit function, you can specify a loading image like this:
submit
$('#form').submit(function() { $('#wait').show(); $.post('/somepage.htm', function() { $('#wait').hide(); }); return false; });