I am using facebox to display a contact form, however when the user selects submit I would like the action which for this example I shall call action=”contact_send.php” to also open in a facebox. Currently it is easy to open a link into a facebox by declaring the rel attribute as facebox
e.g.
<a href="contact.html" rel="facebox">Contact</a>
This opens contact.html in a facebox window, I would however like the action of this form to also open in a lightbox, does anyone have any suggestions that might help?
thanks in advance
-Ashutosh
Your HTML FORM
EDIT :
Your Script
Now use jquery to submit form
When you click submit button on your page, this code opens facebox and processes the variable you sent to contact_send.php page and returns the output from that page to the facebox.