1 Nov 2007 8:39 PM #1
how to fire button click
needing to fire click event for a button i didn't see from api a button.click() or similar.
I found that button.handler() does the job.
Now: is this a workaround or it's the correct way to call the click event ?
p.s. it's easy to define the handler in a normal (not anonymous) function, but this is a question just for learning.