[jQuery] File Downloads With jquery

[jQuery] File Downloads With jquery

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);
    });
}<br clear="all">
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
--
-----------------------------------------------------
<a href="http://openwetware.org/wiki/User:Lucks">http://openwetware.org/wiki/User:Lucks</a>
-----------------------------------------------------
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/