internet-explorer

Update all IE6 to IE8?

This has always confused me. Everyone says that IE6 dies slowly. But what is preventing Microsoft to update all IE6 to IE8? When a user open the IE6, if it says "Update to a newer version" then I guess 9/10 users will just click on it. What are the obstacles from updating all IE6 so it can just die? ...

Javascript submit() event is not fired up on exit (unload event)

I got page where HTML elements <form> and <iframe> are dinamicaly created with Javascript: document.write('<iframe id="myIframe" name="myIframe" src="about:blank" style="display:none;"></iframe>'); document.write('<form id="myForm" name="myForm" method="post" target="myIframe" action="myURL.php" style="display:none;">'); document.write(...

Deactivate add-ons by start IE with powershell (for automated tests)

Hello, I write a script for automated tests. I want that the IE runs without add-ons. It would be OK if set this after the start of it, but it is important that I can work with the IE. (I must can to grab it for my testing). I want start IE with following powershell-script: $ie = new-object -comobject InternetExplorer.Application -pro...

Active scripting is enabled on ie but my javascript is not showing up

I have a site created using .net and the ajaxcontroltoolkit. When some users log on they do not see the controls on the page. I can duplicate this if I disable active scripting in ie. The problem is that the users I have spoken with have active scripting enabled. I have had them navigate to a site that tests javascript and it passes. Has...

Getting ResponseText without calling servlet using xmlhttprequest in IE(Any version)

Hi, I'm using xmlhttprequest to call servlet. It is working fine in Firefox. But, in IE, only if I click refresh button, it is working(that too sometimes). Otherwise, it is not triggering. Moreover, the response text is displayed without calling the servlet. Is that using Cache or what? I don't have any idea . Help me out please. ...

IE7 form authentication after ntlm authentication failed

I have a problem with authentication: Users that have valid domain credentials are logined using NTLM authentication (i send "WWW-Authenticate: NTLM " header and 401 status in my jsp filter. Then IE authenticate user using NTLM and everything is fine. I have other users (connected to lan with their own computers) and they can't logged...

Web Dev on MacOSX, how to check IE compatIbility?

How can I check IE compatibility when I'm developing a website on MacOSX, primarily using Chrome. ...

IE8 is returning NULL when selecting from jQuery + AJAX request

I have no idea why this is happening. First off, the code is valid via W3C validator as HTML5 EXCEPT for URL encoding issues (like & should be & amp;) but i don't have control over that and that shouldn't cause this error anyways. Second, this works in all other browsers. Third, the "data" element you'll see in the JS below returns the...

Passing date to Date object results in an undefined variable in IE8

I've been stuck on this for quite a while and would appreciate some help if possible. Basically I receive a date from an API in the format yyyy-mm-dd. Amongst other things, I wish to display the weekday. Here is the relevant code: // jsonDate is in the format yyyy-mm-dd var splitDate = jsonDate.split("-"); var joinedDate = splitDate....

replicating wtikay - IE - currentStyle doesn't update when it ought to

I am trying to replicate, with my own code, the history-sniffing demo seen on http://wtikay.com/ and various other places. (It's a long story.) I have something that works reliably in most older browsers (latest Safari and Chrome releases and Firefox 4 betas have a defense) -- but it doesn't work in IE7 or 8 (haven't tried 6), and I ca...

IE not saving asp.net authentication token / cookies

I have an asp.net site. Its a mixture of web forms and MVC2. I have this on 2 different servers which I get to via different urls. On one server authentication works fine via all browsers (IE 8, FF 3.6, Chrome) On the other IE 8 fails, it doesn't send back the cookie on the request to the page after authenticating. Using Fiddler I ...

How to make :active state work in IE?

I have a button in my html form and need to change it's background image when it is clicked using css. it works perfect in FF but it seems that IE doesnt support :active state. Here is my code: HTML: <button class='button'>Click Me</button> CSS: .button { width: 118px; height: 33px; background: url(/images/admin/btn...

Powershell: Including jQuery in InternetExplorer.Application

I Followed this article, explaining how to spice up an Internet Explorer COM-Object with jQuery. While the author used Python, I want to do something similar in Powershell. So now I have this code: function addJQuery ($browser) { $url="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" $document = $browser.docume...

IE: AJAX tabs not working

I'm trying to build a webpage which contains some tabs, by clicking on a tab, it will use AJAX to load content below the tabs. The problem: In older versions of Internet Explorer clicking on a tab will result in getting redirected to the tab link, instead of loading the content behind that link via AJAX. My html code: <ul id="nav"> ...

What is the <!> element in IE developer toolbar

In noticed the <!> element in IE6 and 7 (haven't tested 8) developer toolbar. It appears to be an element created to hold the background image for one of my actual elements (the actual element is now a child of the <!> element according to IE) Does anyone know what the <!> element is and why IE creates it to hold the background image (I...

IE document viewport border

In some versions of IE, there is a thin 2px border surrounding the document view port. I haven't noticed it for any other browsers yet. This poses a slight problem in calculating mouse positions for the page and client areas. Originally, I simply subtracted 2 from each of the calculations to account for the border. But then, when I test...

jQuery .append() in MSIE

function loadSavedSort(start) { start = parseInt(start); if ( isNaN(start) ) start = 0; var listing = $("#viewsavedsort .listing"); listing.find('.item').remove(); var start = $('#savedSortStart').val(); $.getJSON('saveajax.php', { 'start': start }, function(data) { $("#viewsavedsor...

Where to find C++ reference for Internet Explorer extension

I've just started building an extension for internet explorer using c++. I haven't been able to find the reference for it, where is it? ...

How to specify color using a VARIANT

I need to set the color of an HTML element, I've managed to get a reference to the style but I now need to pass a VARIANT to the put_color method and I can't find information regarding how you construct a variant. How would I go about specifying the color #ffaaaa for the put_color call? CComPtr<IHTMLStyle> spStyle = htmlElement->get_st...

FF and IE - way of handeling \n in textarea

Im doing a textarea with jeditable. The content is saved and loaded from a database. But im having some problems in the way IE and FF handles linebreaks differently. After some debugging i've found a mysterious behavior in FF. For example if i input in textarea: 1 2 It will return 1<br>2 Which is fine. But if i write: 1 2 3 It ...