It’s not possible to fire the default events with Prototype 1.6. Only custom events are supported.

$(‘mybutton’).observe(‘click’,function(){…});
$(‘mybutton’).fire(‘click’); will not work

$(‘myinput’).observe(‘input:changed’,function(){….});
$(‘myinput’).fire(‘input:changed’); does work

Leave a Reply

Your email address will not be published. Required fields are marked *