Hey,
> <input onclick="firePrototypeEvent(document.getElementById
> ('example5'),'event_2');" value="fire event_2" type="button"><br>
You can only fire custom event that is namespaced, that is: contains a
prefix and ":" sing. Eg. 'myEvents:event_2'. You also need to specify
the prefix when observing.
Take a look at the Note and Examples sections of docs [1]
1. http://prototypejs.org/api/element/fire
Best Regards,
SWilk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---