IE9 jQuery AJAX with CORS returns “Access is denied”

This is a known bug with jQuery. The jQuery team has “no plans to support this in core and is better suited as a plugin.” (See this comment). IE does not use the XMLHttpRequest, but an alternative object named XDomainRequest. There is a plugin available to support this in jQuery, which can be found here: … Read more

Pass Nothing from Javascript to VBScript in IE9

Unfortunately, you are probably stuck here – JavaScript does not have a “Nothing” equivalent. See this article for more information. However, the following may work. In your VBScript code, create a function called “GetNothing” that returns “Nothing”. In your JavaScript code, use “var jsNothing = GetNothing()”. It comes from this article.

Placeholder in IE9

HTML5 Placeholder jQuery Plugin – by Mathias Bynens (a collaborator on HTML5 Boilerplate and jsPerf) https://github.com/mathiasbynens/jquery-placeholder Demo & Examples http://mathiasbynens.be/demo/placeholder p.s I have used this plugin many times and it works a treat. Also it doesn’t submit the placeholder text as a value when you submit your form (… a real pain I found with … Read more

Internet Explorer 9, 10 & 11 Event constructor doesn’t work

There’s an IE polyfill for the CustomEvent constructor at MDN. Adding CustomEvent to IE and using that instead works. (function () { if ( typeof window.CustomEvent === “function” ) return false; //If not IE function CustomEvent ( event, params ) { params = params || { bubbles: false, cancelable: false, detail: undefined }; var evt … Read more

IE9 border-radius and background gradient bleeding

I have also been working with this problem. Another “solution” is to add a div around the item that has the gradient and rounded corners. Make that div the same height, width, and rounded corner values. Set the overflow to hidden. This is basically just a mask, but it works for me. HTML: <div class=”mask … Read more

Why does IE9 switch to compatibility mode on my website?

Works in IE9 documentMode for me. Without a X-UA-Compatible header/meta to set an explicit documentMode, you’ll get a mode based on: whether the user has clicked the ‘compatibility view’ button in that domain before; perhaps also whether this has happened automatically due to some other content on the site causing IE8/9’s renderer to crash and … Read more

Why does JavaScript only work after opening developer tools in IE once?

It sounds like you might have some debugging code in your javascript. The experience you’re describing is typical of code which contain console.log() or any of the other console functionality. The console object is only activated when the Dev Toolbar is opened. Prior to that, calling the console object will result in it being reported … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)