Firing native events like click and others is not available.
You can try with custom events -
( unfortunately, there isn't much documentation on the official site :
( , but google helps in this case)

or use this hack witch jdalton wrote here :

    fire:, element, eventName, memo)
      element = $(element);
      var w, event, eventID;
      $w(eventName)._each(function(name) {
        // use original "fire" if it's a custom:event
        if (name.include(':'))
          return proceed(element, name, memo);

        // handle native events
        eventID = (element._prototypeEventID || [null])[0];
        if (!eventID || !(w = Event.cache[eventID][name])) return

        // poor man's event object
        event = Event.extend({ });
        event.eventName = name;
        event.memo = memo || { };

        // execute event wrappers
        w._each(function(wrapper) { wrapper(event) });
      return element;

p.s. This $(ement).fire('click') must be in the core I think, but
don't have enough free time lately to fire a ticket

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to