Tuesday, January 27, 2009

[jQuery] Another question on how to passing parameters to event handler

Hi, from the jQuery doc for dialog, there is:

close Function(Event, ui)
Callback for the close.dialog event. The function gets passed two
arguments in accordance with the triggerHandler interface.

Can anyone give me a simple example to demonstrate how to pass a
parameter (like index, firstname, etc.) to the event handler of the
"close" event.

Thanks.

No comments: