How can I extend the onClick event with Ajax Helper?

I'm using the Ajax helper to submit a form from a popup window. The form is being submitted properly, but I would like the submit button to also close the popup window. I can close it with a call to Popup.hide(), where Popup is a Javascript object that I defined. I'm just not sure how to get the submit button to call this function.

The submit function in the Ajax helper doesn't give you the ability to add to the "onclick" value. I could just hack up the helper... but it seems like there must be a standard way of doing this.

Asked by deckleberryfrye, on 7/3/10

0 Answers

Sorry, but there are no answers yet.

Your Answer

You can use Creole Wiki Syntax to format your text.

Tagged with

Rating

0

Viewed

206 times

Last Activity

on 7/3/10