Displaying 1 result from an estimated 1 matches for "viewstatus".
Did you mean:
viewstate
2005 Oct 11
5
show message while loading - ajax
...t;";
var myAjax = new Ajax.Updater("fm-viewdetails", url, {method: ''get'',
onFailure: reportError, onLoading: showLoading, onSuccess: hideLoading});
}
function reportError() {
alert(''an error has occured'');
}
function showLoading() {
$("fm-viewstatus").style.backgroundImage = "url(images/spinner.gif)";
$("fm-viewstatus").style.backgroundRepeat = "no-repeat";
$("fm-viewstatus").style.backgroundPosition = "50% 50%";
}
function hideLoading() {
$("fm-viewstatus").style.backgro...