internet-explorer

textarea.selectionStart in IE

With this code I can check the caret position in a textarea in firefox: document.getElementById("myTextArea").selectionStart This doesn't work in IE 8. How can I get the caret position in IE 8? ...

How to Detect IE Version on Vista and Above

I would like to detect what version IE is running on Vista and above (I am developing on 7). I currently use WMI on XP, but it appears that this is no more. I have searched for an answer and so far I have found the following solutions: Using System.Windows.Forms WebBrowser wb = new WebBrowser; wb.Version; SELECT path,filename,extension...

Is there anyway to turn off the url "cliking" sound in IE using html, javascript, or flash?

I have a flash application written in action script 2, and at one point it makes multiple back-to-back JavaScript requests using getUrl(). They have to be done as separate requests because IE had a limit on the length of a single request, and fails silently if that limit is passed. When ever this happens, if the user has their sound t...

IE 9 support for Base64 image encoding

Does IE 9 support Base64 image encoding? ...

wrap text around image IE

Hi I have done a bit of searching for a solution to wrap text around an image and came across the JQSlickWrap. http://stackoverflow.com/questions/2457266/jquery-plugin-to-wrap-text-around-images-support-ie6 But it is not working in IE. Is there another way to wrap text around an image? Or is that just not possible for IE yet?... Great...

IE8 style.top limited to 1342177?

Found this rather strange bug in IE8; element.style.top is limited to 1342177 pixels. Even though an element will rarely grow this large, it is not impossible. And when it does things break. (I am an unfortunate victim) Any possible work arounds you guys can think of? ...

CSS Rotation & IE: absolute positioning seems to break IE

I'm trying to rotate a variety of text blocks so they are vertically oriented, and position them in very specific locations on a diagram which will be previewed and then printed. CSS rotates the text very nicely in IE, FF, even Opera. But when I try to position a rotated element, IE 7 & 8 (not worried about 6) breaks completely and t...

jquery .unload problem in IE

Hi, I have the following code that works flawlessy in FF, but in IE I get an error that says "invalid property value" The code in questions is as follows: pageOpen = new Date(); dropper = new Image(); $(window).unload(function() { pageClose = new Date(); sionara = (pageOpen.getTime() - pageClose.getTime())/-1000; dropper.sr...

IE Javascript String.Match issue

The following javascript code concatenates the matches found by a regular expression. The regular expression should find any word or set of quoted words. It seems to work perfectly in FireFox and Chrome, but its not working correctly in IE (i have only tested it on IE8). var searchString = ''; var notString = 'dog cat "pirate ship"'; va...

Changing a form's action attribute in IE?

Hey. I'm trying to set a hash value in a form's action, to keep it when the form is submitted. Firefox allows me to update the hash and redirects accordingly, but IE doesn't. I initially thought this was related to IE not allowing hash values in the action attribute at all, but it seems I can't dynamically set the action at all in IE ...

What HTTP headers do I need to stream an ASF file?

I have a simple PHP script that will either serve up a streaming ASF file or not, depending on whether you're logged in and have access to the file. It basically does this: <?php header('Content-Type: video/x-ms-asf'); header('Content-Disposition: inline; filename="file.asf"'); readfile('file.asf'); ?> This already works fine in Fir...

internet explorer ashx file problem

My problem is a bit complicated: I am writing in c#, asp.net and using jquery I have a page that sends requests to the server using jquery's ajax method. I have a ashx file (handler) to respond to these request. User can perform several changes on several pages, then use some method that will call the ajax method. My ashx file reads so...

IE GIF/PNG Transparency issue with jQuery

Ok, this is pretty weird... Here's the page in question: http://s289116086.onlinehome.us/lawjournaltv/index.php The main blue callout background was originally a PNG, but when I applied some jQuery trickery to it (click the numbers in the top right to see what I mean), an ugly white border appeared where the transparency should be. Se...

Redeclared javascript global variable overrides old value in IE

(creating a separate question after comments on this: http://stackoverflow.com/questions/2634410/javascript-redeclared-global-variable-overrides-old-value) I am creating a globally scoped variable using the square bracket notation and assigning it a value inside an external js file. In another js file I declare a var with the same name...

Layout Bug in IE (div relative)

Hi, I have a problem with IE (all versions). I have a header div with a relative position and inside this another div with absolute position and right alignment. <div id="header" style="position: relative; width: 1000px; height: 60px;"> content http://stadtwerke-bitburg.de/fileadmin/overflow_prob_IE.png Now when I open the pulld...

How can I debug this Internet Explorer issue?

I have a Web Application (ASP.NET C# for .NET 3.5) that uses the Session object to store, amount little things the debug information so when things go wrong, this is the first place to go. The process is simple actually, no matter what browser (except IE), when I navigate to a page, in the Debug Log I have data, just like the one show ...

Iframe auto-height not working when page changes in IE

I have an iframe in a page, with the following auto-height script. function autoHeight(e) { if ( e.contentDocument ) { e.height = e.contentDocument.body.offsetHeight + 35; } else { e.height = e.contentWindow.document.body.scrollHeight + 35; } } document.domain = "example.co.uk"; var ifr = document.getEle...

IE sends multiple cookies with same name?

I have a strange bug that occurs in IE7/XP and IE8/Vista on my website. IE sends two cookies named PHPSESSID. How to reproduce: Clear cookies in IE (not necessary if you never visited unisender.com). Visit unisender.com (exactly without www to reproduce!) and it will redirect to www.unisender.com Login with any valid username and pass...

jQuery Ajax works in Firefox, fails in IE when calling Controller action

Hello there, I'm making the following jQuery ajax call to an action in ASP.NET MVC. In Firefox the async request is sent to the action in the controller and everything works fine, but in IE no request is sent to the controller. Here is the ajax call and action controller signature: $.ajax({ ...

How do I get javascript-generated image maps to work with internet explorer?

I'm using javascript to generate a high resolution grid for an image that I generated on a web server. The high-resolution grid is composed of a 'map' element with hundreds of 'area' child elements. Each 'area' element has onmouseover attribute that causes the display of a popup box. After assigning the map to the img (via the usemap at...