Ill try the 2 solution and send the result to the list
Jonathan Howard escreveu:
Couldn't you just do the post and grab the resulting XML and
drop it as the content of a new window?
pseudo-code:
$.post(data, url, function(xml){
//open window
//window contents set to xml
});
On 9/1/06, Francisco
Brito <[EMAIL PROTECTED]>
wrote:
I'm sorry, I was writing pseudo-code. I just don't remember
right now the syntax, but for example, if you had:
$.post(url, formData);
now you'd have:
var newWindow = window.open(...);
newWindow.$.post(url, formData);
Brito
On 9/1/06, Gholias <[EMAIL PROTECTED]>
wrote:
win.post(myformData);
This is from jquery or js native?
what is myformData? an array?
Francisco Brito escreveu:
> I'd say you need to open the window first, then post through it:
>
> var win = window.open(...);
> win.post(myformData);
>
> You will need jQuery on your new window to be able to use the ajax
> plugin, so it can't be an empty document.
>
> I hope this helps,
> Brito
>
> On 9/1/06, *Gholias* <
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
>
> Hi, I need create a print version of my page
> I need open this print version on a new window
> The page is rendered using variables from a post made the ajax
plugin
>
> how can I use Jquery to force this post to open a new window?
>
> like a target _blank on <form tag?
>
> _______________________________________________
> jQuery mailing list
>
discuss@jquery.com <mailto:discuss@jquery.com>
>
http://jquery.com/discuss/
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
>
http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
|
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/