jQuery AJAX request failing in IE

Fixed, I changed the content-type from application/json; charset=utf8 to just plain application/json. I hate IE 🙂 Also to avoid IE super-caching try this: var d = new Date(); $.ajax({ url:”{{SITE_URL}}/content/twitter.json?_=”+d.getTime(), …Snip… That way each request is a new url for IE to get 😀

How to solve the error “SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.” in IE

I don’t think it’s a good idea to ask your customers to disable this configuration at all. Remember that enabling and making this change does not only apply to your website but to other websites as well. There’s a huge security reason why it is disabled in Internet and Restricted Sites zones by default and …

Read more

Add browser action button in internet explorer BHO

EDIT: https://github.com/somanuell/SoBrowserAction Here is a screen shot of my work in progress. The things I did: 1. Escaping from the protected mode The BHO Registration must update the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy key. See Understanding and Working in Protected Mode Internet Explorer. I choose the process way because it’s noted as “best practice” and is easier …

Read more

IE tries to download json response while submitting jQuery multipart form data containing file

You can simply return JSON from the controller as “text/html” and then parse it on the client side using JQuery.parseJSON(). Controller: return this.Json( new { prop1 = 5, prop2 = 10 }, “text/html”); Client side: jsonResponse = $.parseJSON(response); if(jsonResponse.prop1==5) { … } This solution has been working for me.

How do I wrap text in a span?

Wrapping can be done in various ways. I’ll mention 2 of them: 1.) text wrapping – using white-space property http://www.w3schools.com/cssref/pr_text_white-space.asp 2.) word wrapping – using word-wrap property http://webdesignerwall.com/tutorials/word-wrap-force-text-to-wrap By the way, in order to work using these 2 approaches, I believe you need to set the “display” property to block of the corresponding span element. …

Read more

Force Internet Explorer to use a specific Java Runtime Environment install?

First, disable the currently installed version of Java. To do this, go to Control Panel > Java > Advanced > Default Java for Browsers and uncheck Microsoft Internet Explorer. Next, enable the version of Java you want to use instead. To do this, go to (for example) C:\Program Files\Java\jre1.5.0_15\bin (where jre1.5.0_15 is the version of …

Read more