window.location.href = "file_url"; It seemed to me the best solution.
On 4 ago, 21:21, David <garcia.narb...@gmail.com> 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. > > On 4 ago, 20:12, elubin <elu...@yahoo.com> wrote: > > > Don't do it inajax. setup the link as a regular <a> tag, and the > > browser should handle it for you.