Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

File downloading with Ajax problem

$
0
0

Hi guys,

I'm new in mvc. I have faced problem with downloading

My Ajax code is

$.ajax({
    type:"POST",
    url: base_url +'/Home/IndexSpecification',
    data:{ option_id :2},//dataType: 'json', encode: true,
    async:false,
    cache:false,
    success: function (data, status, jqXHR){
        console.log(data);},
    error: function (jqXHR, textStatus, errorThrown){if(typeof(console)!='undefined'){
            alert("oooppss");}else{
            alert("error");}}});

Downloading not working and not even returning any error. Anyone please help. Thanks!


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>