$(document).ready(function(){
var timezone = "GMT";
var num1 = Math.random();
$.getJSON("http://178.79.191.15/json.php?num="+num1,
function(data){
console.log(data.hour);
if (data.hour == 0 || data.hour == 1 || data.hour == 2 || data.hour == 3) {
$('#pokerform').show();
} else {
$('#wrongtime').show();
}
})
});
The above is my function, it's working on Chrome/FF but not in IE.
I've set up header('Access-Control-Allow-Origin: *');
on http://178.79.191.15/json.php
What could be the issue?