I have a form in a plugin that is in an overlay. I'm using setAjax and when it submits I don't want it to call another page, I just want it to run a javascript function. Is there an example of this anywhere? I couldn't find anything in the docs.
I assume that I use $form->setAction(), but I need the action to be javascript.