Thanks Chris, This sounds like a winning idea.  I'm still new to JQuery and its 
plug-ins and syntax, but if the ID of my save button is "saveButton", how would 
I invoke '.trigger("#cancelButton")'?  Would it be ...

<input type="button" id="saveButton" value="Save" onclick="doStuff(); 
.trigger('#cancelButton');">

?   - Dave


>  -------Original Message-------
>  From: Chris Domigan <[EMAIL PROTECTED]>
>  Subject: Re: [jQuery] jqModal: Defining a custom event before closing the 
> window?
>  Sent: Feb 14 '07 22:57
>  
>  You could just set Cancel as the only button that closes the window. Then
>  at the end of your Save action, just do .trigger("#cancelButton");
>  
>  Chris

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to