U could generate a div with the info from the form and use thickbox
internal function TB_show, like this:
$("preview").click( function () {
//generate a div with the contents of the form and then call thickbox with:
TB_show("Post preview",
"#TB_inline?height=300&width=300&inlineId=divId", false);
});

I think something like that should work
//Kristinn
On 3/4/07, Seb Duggan <[EMAIL PROTECTED]> wrote:
> I'm working on a CMS application, and want to create a preview button.
>
> What I want it to do is take the form content, pass it to a preview
> page which will be loaded into a Thickbox (or similar) overlay, but
> not submit the main form.
>
> The content of the form is likely to be too long to send as GET data,
> so POST will be required.
>
>
> Any ideas?
>
>
> Seb
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to