Tuesday, April 3, 2012

invoke onClick event in Xpage

At one point of time, I was in need of invoke the onClick event while clicking a button.

So I have googled and get the simple way.,

document.getElementById("#{id:button2}").click()

button2's click event will be triggered.

No comments:

Post a Comment