[Kss-devel] Trigger event manually

Hedley Roos hedley at upfrontsystems.co.za
Wed Oct 31 15:26:49 CET 2007


Let's say I have a piece of javascript that does something like

"""
mybutton.onclick();
"""

mybutton has an event attached to it thanks to my KSS rule:

button#someid:click {
etc etc etc
}

I want the azax event handler to also fire, but it does not since events 
are not generated when doing a click through Javascript.

Question: how do I force that event to fire?

I've been through kukit.js and it seems that in one of the rules or 
rule_processors arrays lies the callable objects. Is this correct?

Thanks
Hedley


More information about the Kss-devel mailing list