function ajaxListTableFilter(div,controller,action,variable,value){ new Ajax.Updater(div, 'index.php?format=ajax&controller='+controller+'&action='+action+'&'+variable+'='+value, {onComplete:function(){},asynchronous:true, evalScripts:true}); //window.location='index.php?from=ajax&controller='+controller+'&action='+action+'&'+variable+'='+value; } var sendWelcomeEmail = function (userId){ new Ajax.Updater('pageerrors', 'index.php?controller=users&action=sendwelcomeemail&format=ajax&user_id='+userId, {onComplete:function(){new Effect.Highlight('pageerrors',{duration:'5.0',startcolor:'#008888',endcolor:'#888888'});},asynchronous:true, evalScripts:true}); setTimeout(function(){pERROR.innerHTML = oHTML;},5000); } function redirectPage(controller,action,id){ window.location.href='index.php?controller='+controller+'&action='+action+'&id='+id }