I can't believe I've never done this before....
Here's my situation: I am using 2 jQuery plugins. Shadowbox and validate (bassistance).
I click on a link to sign up for a newsletter. The link opens a form in a shadowbox. No biggie. The form is validated with the plugin.
When the form is validated and ready to submit, it doesn't.
This is what my submitHandler option (in the validate plugin) looks like:
submitHandler: function(form) {
form.submit();
var s = window.parent.Shadowbox;
s.open({
player: 'iframe',
title: 'Thank you!',
content: 'http://www.somesite.com/includes/thank_you_grid_3.php',
width: 270,
height: 110
});
}
Help :)
Thanks