Displaying 1 result from an estimated 1 matches for "hideload".
Did you mean:
wideload
2005 Oct 11
5
show message while loading - ajax
...came up with but it doesn''t really work:
function getHTML() {
var url = "./scripts/rfiles.php";
var par = "";
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-vie...