So I have an extremely simple $.post function that works perfectly in all the normal browsers. But in IE (I tested 7 & 8) it just doesn’t happen.
console.log('1');
$.post('home.php', {'a':'b'}, function(data){
console.log('2');
});
When I run this in FireFox, my Firebug console shows 1, then 2.
Internet Explorer doesn’t get past 1. I’ve had problems before where it thinks it’s cross-browser because of the absence of www but that’s not the case.
I don’t see where it could be going wrong.
Also changing input to { a:'b' } doesn’t work so it can’t be the variables (you’d think).
EDIT: Simplified to simpler not-working version
EDIT:
There seems to be going something wrong with the variables, when I change this:
$.post('home.php', {'a':'b'}, function(data){
to
$.post('home.php', function(data){
It works..
Do you have the debug console visible in IE?
console.log()will prevent the rest of the script from running on IE if the console isn’t visible.