Like this?:
function filterHandler(evt){this.fire('check:filter');}
$('filter').observe('keyup',
filterHandler).observe('click',filterHandler).observe('focus',
filterHandler).observe('blur', filterHandler);
See Observe Documentation: http://www.prototypejs.org/api/event/observe
As the
Hi
I think the error might be to do with this section of code:
...).down('input.previous')...
this is calling for the first input with a class name of 'previous'
within the element with the id of 'paging', what I'm assuming you were
trying to do was get the element that comes before the first
Hi,
Below is a patch to PeriodicalExecuter that should do what your
asking, I have Prototype 1.7.min and this patch is untested:
var
PeriodicalExecuter=Class.create({initialize:function(callback,frequency)
Hi,
I am wanting the ability to lock an event as I register it so that is
can't be removed or unregistered for example
Event.Observe('element_id', 'click', function_name, true);
The last parameter being a boolean value for locking the event or not,
which would be false by default.