Sure. dojo.event.connect("before", dojo.byId("your button id"), "onclick", function(event){ // do stuff });
On 9/16/06, Josh Joy <[EMAIL PROTECTED]> wrote:
Hi All, Question about forms...I would like to have a button that has an onClick event that calls a javascript function and I would like to also set up a tapestry listener for the same button, so when the user pushes the button first the onClick function is called, next the Tapestry listener is invoked. Is such a thing possible? Thanks in advance, Josh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com