Tag: internet explorer

Drag and Drop Files from Windows Explorer To Internet Explorer

I’m doing some old school IE and trying to get drag and drop from windows explorer to IE working. I’m getting the drop events but the dataTransfer object does not contain the file name(s). getData(“Text”) is also null. What am I missing? <!DOCTYPE html> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <title>DnD</title> <script src=”scripts/jquery-1.7.2.min.js”></script> </head> <body> <div id=”dropstuff”>drop stuff […]

Raphael JS, IE9 problems

I have written a simple game in Raphael JS, this works in all other browsers except IE9. On IE9 it just break apart like even the functions which are getting called in other browsers don’t get called here. I feel something basic is going wrong. Could someone please help me on this …. Link to […]

Why does my container lose its content after a setInterval div replacement in IE?

I have been developing a web page using chrome and ff. I recently was told it has to work in IE as well. I have already solved the IE double padding issue. The problem is the content of my “grid” disappears after the javascript setinterval causes the div to be replaced. This only happens when […]

Input submit only working after second click

I’ve created the following form that allows uploading pictures, it has a submit button that is not working fine on IE (it only submits after the second click): <fieldset id=”form-fieldset” data-listurl=”@Url.Action(“Index”, “Partners”, new { Area = “Panel” })”> <legend></legend> <div class=”editor-label”> @Html.LabelFor(model => model.Name) </div> <div class=”editor-field”> @Html.EditorFor(model => model.Name) @Html.ValidationMessageFor(model => model.Name) </div> <div […]

Element.appendChild() hosed in IE .. workaround? (related to innerText vs textContent)

I’ve heard that using el.innerText||el.textContent can yield unreliable cross-browswer results, so I’m walking the DOM tree to collect text nodes recursively, and write them into tags in the HTML body. What this script does is read hash substring valus from the window.location and write them into the HTML. This script is working for me in […]

javascript: cloneNode causes scripts execution in IE

I have been using cloneNode API on DOM objects implemented natively by browsers. Behavior looks fine in FF and chrome, but in IE the scripts inside the node to be cloned is also getting executed as a side effect of the cloneNode api. Is there a way I can get rid from that?

Ajax content not displaying on IE7 & 8 – WORKS on IE9 & FF

I’m trying to load some content (same domain) into a div. It works perfectly in FF and IE9, however, IE7 and 8 display nothing. After a couple of days of trial and error with all possible solutions found here and elsewhere, i really need some help. This is my code: <script type=”text/javascript” src=”http://code.jquery.com/jquery-latest.min.js” charset=”utf-8″> </script> […]

Intercepting a form with JQuery fails in IE

I’m using JQuery to intercept a form, but it’s not working in any version of IE. Does anyone have any tips? I tried form.submit() but found it to have problems in Firefox. Any help would be greatly appreciated. $(document).ready(function() { $(“form”).submit(function(e) { if (e.originalEvent.explicitOriginalTarget.id == “myButton”) { if (some status is true continue to submit […]

Modernizr causing errors in IE8 (exception handling?)

I’m getting an error on one of my sites using Modernizr 2.6.2 in Internet Explorer 8. It seems like IE <=8 freaks out if an exception is thrown but not caught, so it gets to this line and completely fails: if (typeof target != “function”) { throw new TypeError(); } The error is: “Exception thrown […]

“Internet Explorer has modified this page to help prevent cross-site scripting” for iframe

I place on a page with a one domain iframe that pointing to another domain. Everything works fine. Then I send to iframe form by POST method, when it comes the reply, Internet Explorer generates an error Internet Explorer has modified this page to help prevent cross-site scripting When I send a form by GET […]