$.post not functioning in Internet Explorer 11

77 Views Asked by At

Yet another reason to hate IE...as I work mainly in Chrome I sometimes forget about the difficulty of cross-browser support. I usually don't get many problems so I just check every now and then to keep on top of most css problems.

It seems jQuery is another thing to watch in IE. Specifically the $.post() function.

A template of my code:

$.post('file.php', {value: input.value}, function(result){
    alert(result)
});

The error...NO ALERT. The code above the function works fine and it is definitely the $.post() that isn't working.

I have read somewhere that IE cannot determine whether any result is returned. I didn't really get the article so it wasn't much help. This is a fairly big part of the website and kinda needs to work. I could make it so I didn't need this function but it would cost a lot of wasted time.

Thank you, in advance, for any help.

0

There are 0 best solutions below