[jQuery] Re: Ajax response attached file

2009-08-05 Thread David
window.location.href = "file_url"; It seemed to me the best solution. On 4 ago, 21:21, David wrote: > Would it be a proper solution to use a hidden iframe and set the 'src' > attribute with the file URL? That is, in the Post methodAJAXrequest, > in its callback function, set the attribute. > >

[jQuery] Re: Ajax response attached file

2009-08-04 Thread David
Would it be a proper solution to use a hidden iframe and set the 'src' attribute with the file URL? That is, in the Post method AJAX request, in its callback function, set the attribute. On 4 ago, 20:12, elubin wrote: > Don't do it in ajax.  setup the link as a regular tag, and the > browser sh

[jQuery] Re: Ajax response attached file

2009-08-04 Thread elubin
Don't do it in ajax. setup the link as a regular tag, and the browser should handle it for you.