how to export excel through ajax call
hi
i am using .ajax() for making asyncronous call, in my case the resonse content type is "
application/x-msexcel", in jsp setted content type.
ajax call look like this:
$.ajax(
{
url :
"url.do?button=default
"
,
cache:
false
,
success :
function
(data)
{
$(
"#divId"
).html(data);
}
,
error :
function
(jqXHR, textStatus, errorThrown)
{
alert( textStatus );
alert( errorThrown );
}
}
);
Can any one tell how to get a dialog box which asks for save/open/cancel...?
thanks in advance