Hi All,

I am trying to trigger a file download with jquery.  My export function gathers an export type, then uses this in a get request to a url expecting this type as a parameter. 

export = function(type) {
    alert(type);
    $.get("export_url",{
        export_type: type
    },function(data){
        alert('Done'+data);
    });
}

I can verify that I got the requested data with the function in the .get.  How do I send that data to a text file to trigger a download of that file?

Thanks for your help!

Julius



--
-----------------------------------------------------
http://openwetware.org/wiki/User:Lucks
-----------------------------------------------------
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to