preview and submit
Posted: Sun Sep 25, 2005 4:05 am
I'm making a 'CSS generator'
I have it all done, clicking on the 'Generate Code' button, loads the code into an iframe. Awesome!
But before they generate their code, I'd like them to be able to press a 'Preview' button, which will open a small popup window that shows them the effect of their CSS code, so they can change their settings if they like.
I don't know how to send the $_POST data from the form to this preview page, and still have the Submit (generate code) button there.
Would this require two forms?
I have it all done, clicking on the 'Generate Code' button, loads the code into an iframe. Awesome!
But before they generate their code, I'd like them to be able to press a 'Preview' button, which will open a small popup window that shows them the effect of their CSS code, so they can change their settings if they like.
I don't know how to send the $_POST data from the form to this preview page, and still have the Submit (generate code) button there.
Would this require two forms?