> I have a form in which one of the submit buttons initiates a download > of a file. Under normal circumstances this works perfectly, however, > if I introduce the JQuery Form plugin as follows: > > var options = { target: "#dialog" }; > $('#viewform').ajaxForm(options);
Try setting the 'iframe' option to true. And you don't need the target option. var options = { iframe: true };