I'm currently showing a drupal form via the admin overlay. I'm using jQuery to perform the processing of the form.
The problem I have is how do I close the overlay on submit? right now the only way to close the overlay is by pressing the X at the top right (well based on the default theme), which is just a .
Now I'm presuming that I could somehow change the form to add the "overlay-close" to the submit button, but I'm not sure how to do this.
Is there a way to add a class to a button on a form in drupal?