On file upload, I want ajax hit the url like:
$.ajax(
{ url: '<?php echo base_url();?>apk-reader/ApkInfo.php',
data: {"apps": "../apps/apk_files/"+file, user_id: "<?php echo $this->session->userdata('user_id'); ?>"},
type: 'get',
success: function(output) { alert(output);}
Here I want to store the out put in another variable and use it in OnComplete of another ajax load.