StevenHas

submitJob Callback not firing in IE

Discussion created by StevenHas on Mar 5, 2014
Latest reply on Mar 5, 2014 by StevenHas
Hi Folks,

The following code is working just fine in Chrome and FF but the callback does not fire for IE 9 or IE 11.
I'm feeling stumped, both callback approaches work for Chrome/ FF

Am I missing something obvious??

Thanks!

jsapi: 3.8
jquery: 1.9.1


var gpTask = new esri.tasks.Geoprocessor('https://balh.com/arcgis/rest/services/gpService/shpToFl/GPServer/shpToFl');
var inParams = {};
inParams.shapeZip = '{"itemID":"' + result.item.itemID + '"}'
console.log('submitting job');
//this.gpTask.submitJob(inParams, lang.hitch(this, this.gpTaskComplete), '', lang.hitch(this, this.gpError));

gpTask.submitJob(inParams, 
    function(result){
        console.log('result!!!!')
    }, 
    function(message){
        // this is the only part IE will call
        console.log('messages')
    }, 
    function(error){
        console.log('error')
    });
    
gpTask.on('job-complete', function(result){
    console.log('this work??')
});

Outcomes