Topic: help with this function?!
were i can put this function for old site buttons action?.... help
on exemple is here: http://www.erobosoftware.com/scripts/ja +functions
function submitForm()
{
showAjaxImage() //show ajax busy icon
//create the ajax updater object
new Ajax.Updater('updatable_content','yourscripts/a.php',{
onSuccess: function(){
var mySpan = document.getElementById("ajaxIndicator");
mySpan.innerHTML = ""
},
onFailure : function(){
alert("Something went wrong...");
}
});
}
function showAjaxImage() {
var mySpan = document.getElementById("ajaxIndicator");
mySpan.innerHTML = "<img src=\"" +
"17/images/ajax_busy.gif" +
"\" border=0>";
}