So I found this recommendation, but I can\'t quite seem to figure out how.
This is the code I originally started with:
function greySubmits(e) {
document.observe("dom:loaded", function(){ $$('form').find(function(thisForm) { Event.observe(thisForm, 'submit', function(event) { $$('input[type="submit"]').find(function(input) { input.value = 'Please wait ...'; input.setAttribute('disabled',true); }); }); }); });