jQuery - 2 different functions for 2 different submit buttons in one form
<p>I have had a search around at other suggestions for what i want to do, but none seems to have what i need.</p>

<p>Basically i have a form with 2 submit buttons, i want one to save the data to the database, which i have done and works perfect ... the second submit button ( preview ) i need to open in a new window, take all the form data and display it on a form while leaving the previous page as it is ... if that makes sense.</p>

<p>I figure i cant do this with PHP as to get the post data it needs to basically reload a page ... i thought there might be a way with jQuery.</p>

<p>Any help?</p>
