I figure for the input I can use, the code below, but how can I create a custom function to call outside the "addEvents"? Not sure about the proper format, since it's in the domready.
window.addEvent('domready', function() {
customfunctionA( do something ) //how to call/write this?
$('myElement').addEvents({
blur: function(){
customfunctionA;
},
keyup: function(){
customfunctionA;
}
});
});
