0

I have a javascript that runs an obout javascript that looks like this

ob_post.post(null, "functionNameHere", function () { });

This function works great on all browsers except for IE, I am not certain about all IE version but 11 does not work atleast.

The function is being run on an on blur event but I've played around with alerts here and there and everything works great except for this part. Where it does the AJAX.

I am not really experienced with obout and I haven't really made this website either, just updating it a bit here and there.

Does the obout just not support IE/IE11 that much?

HenrikP
  • 844
  • 5
  • 16
  • 37
  • Did you try using fiddler? Does the request even leave the browser? Try debugging with developer tools and check if there are any errors that show up in the Scripts window. – Nilesh Mar 31 '14 at 03:03
  • @Nilesh No it never leaves the browser, or it does not atleast never reach the .NET server(debugging never starts) while on all other browsers it works plus debugging starts. The javascript on blur event ALWAYS works and always works up to the obout JS function, then it suddenly dies. – HenrikP Mar 31 '14 at 06:34
  • I dont have IE11 on my laptop, but with a quick google search I found this **[link](http://bugs.jquery.com/ticket/14475)**. Check if that gives you some insight. Try installing IE 10 and try the post request again. – Nilesh Mar 31 '14 at 06:54
  • @Nilesh I'm running Visual Studio to create a localhost though not just opening a HTML file, plus the issue exists on an live-server too. But I will try some older IE versions – HenrikP Mar 31 '14 at 06:57
  • @Nilesh I just tried the compability mode in IE11 and all available modes there (5,7,8,9 and 10) works except for Edge(11) So 11 is the issue here. I guess obouts JS function doesn't support it. – HenrikP Mar 31 '14 at 07:23
  • Its not that obouts does not support IE11, I belive obouts is using jquery under the hood and IE11 handles the XMLhttprequest differently and thats the reason jquery fails to create a xmlhhtprequest object. Are you referencing a JQUERY js file? What is the version of JQuery that you use? – Nilesh Mar 31 '14 at 09:22

0 Answers0