json response not working in IE
===

This is my code. This is for pass values using json to jsoncall.php file and need to get the response.

   

     var url = 'jsoncall.php';	
    	var calltype = "signin";	
    	parameters = 'call='+calltype;
    	var email = document.getElementById('email').value;
    	var pass = document.getElementById('password').value; 
    	var serverurl = document.getElementById('s_url').value;
    	var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
    	
    	if(email == "") {
    		alert("Plese enter your email address!");
    		return false;	
    	}else if(email != ""){
    		 
    	   if(reg.test(email) == false) {	 
    		  alert('Invalid Email Address!');
    		  return false;
    	   }
    	}else if(pass == "") {
    		alert('Please enter your password!');
    		return false;	
    	}
    	
    	setTimeout( function() {
            jQuery.getJSON(serverurl+url+'?callback=?',
                {call:calltype, txtEmail: email, txtPassword: pass, login: ""}, 
                    function(data) {
                    	console.log(data);
    					//alert(data.result);
                    	if(data.result == 0){                    	
                        	alert("Invalid email or password!");
                            return false;
                        }else {                        
                          	window.location = data.result; 
           	          	}
    					
                });
          }, 100); 

This work in Crome, Firefox. But this does not work in IE. When I press f12 and got the developer tool in IE then it start to work in IE. Otherwise it won't work. Thank you for your help.