I am trying to send data array in Ajax request and it sends data correctly but success and onComplete events are not being called. Code below doesn't alert "dd"
                    var prodData = {};
                    prodData['product']='316';
                    prodData['qty']='1';                       
                    prodData['isAjax']='1';
                    jQuery.ajax({                           
                        url:'<?php echo $this->getBaseUrl() ?>ajax/index/add',                            
                        type:'post',
                        data:prodData,
                        success:function (response) {  
                            alert('dd');
                        }
                    });  
But code in next section does, difference is only extra parameter data.
                    jQuery.ajax({                           
                        url:'<?php echo $this->getBaseUrl() ?>ajax/index/add',                            
                        type:'post',
                        success:function (response) {  
                            alert('dd');
                        }
                    });
What could be the possible reason?
 
     
    