Using prototype to show status while doing ajax calls
Posted: Sat Nov 18, 2006 8:53 pm
Would anyone who is familiar with prototype happen to know how you would go about showing some sort of status or loading message while the ajax call is being made?
This is how im using prototype for the call..
thanks!
This is how im using prototype for the call..
Code: Select all
function update(){
var url = '../update.php';
var pars = 'site='+escape($F('site'))+'&username='+escape($F('username'))+'&userid='+escape($F('userid'));
var target = 'list';
var myAjax = new Ajax.Updater(target, url, {method: 'get', parameters: pars});
}