internet-explorer

onchange event never happens on IE while ok with firefox

Hello It might be a beginner question but I can't understand why the onchange event is never called by IE while it works Ok with firefox. <input type="text" id="mytext" size="48" value="" onchange="execute()"/> <button type="button" onclick="execute()">Go</button> The execute function is called when the button is clicked but not when...

[CSS] IE8 reserving space for a non-displayed element

I have a simple page with a form and selects. Number of those selects are set invisible and I use Javascript (JQuery) to set visible/invisible the good one. The CSS to set them invisible is : select { margin:0; margin-top:5px; padding:0; border:0; } .Invisible { display:none; } It works fine on Firefox, Opera an...

jQuery code will not be executed for IE <= 7.0

I wrote a little in page script to relocate a small box containing the sub navigation via jQuery. While it works in all (semi)-modern browser, it doesnt work in IE 7 and below, although other jQuery Code works. for IE 6 and 7 Can anybody tell me, what IE doesn't like in this code? <script type="text/javascript"> /* <![CDATA[ */ ...

Is there a good analogy to explain why website reliance on non-standard IE tags will go down in future years?

I'm trying to explain to a non technical person, why certain websites (generally ones whose user base exist solely in countries where Microsoft owns more than 99% of the market share) fail to load in Safari or even Firefox (specially on Macs). Such users generally wonder why anyone would even think of buying a Mac, when it doesn't even l...

jQuery ajax call to url containing accent character sends bad Uri from IE to server

I was having trouble sending up a url containing accent characters using IE. Here's a simple function: function runjQueryTest(){ var url = "/test/Beyoncé/"; $.get( url, function(){}); } On the server (PHP) I record the value of the request uri ($_SERVER["REQUEST_URI"]) and I see a difference between what FF/Chrome send up ver...

IE printing landscape vs. portrait screwed up

We have a html/CSS page we're using a print style sheet for to make it print out nicely. Looks fine in PRINT PREVIEW in Firefox and IE. However, in IE, when you get to PRINT PREVIEW, it shows you the page as it will print in portrait layout. If you then click the LANDSCAPE layout, our page breaks. Some objects no longer appear. Before ...

PHP: Force file download and IE, yet again

Folks, I know there have been lots of threads about forcing the download dialog to pop up, but none of the solutions worked for me yet. My app sends mail to the user's email account, notifying them that "another user sent them a message". Those messages might have links to Excel files. When the user clicks on a link in their GMail/Yaho...

Using IHTMLElementRender Interface in Winodws mobile Pocket Internet Explorer.

Hi All, We would like to use IHTMLElementRender Interface in Windows mobile Pocket Internet Explorer for drawing HTML element content into our custom window DC but found that interface is not not exposed in PIE, Do we have any alternative PIE interface IPIEHTMLElementRender? Regards, Ramanand Bhat. ...

XMLHttpRequest() vs ActiveXObject("Microsoft.XMLHTTP") - what's the point?

Microsoft finally added the native XMLHttpRequest object in Internet Explorer 7, but I found out that it can be disabled in the Internet Options dialog. So what benefit is there using XMLHttpRequest() vs ActiveXObject("Microsoft.XMLHTTP")? If it can be disabled, that means we have to keep our browser compatibility checks in forever, do...

Hosting YUI in SSL Site - IE Errors

I'm using YUI on my site. It works fine with no errors when you access over HTTP. However, when IE users access the site over HTTPS they get the dreaded "this page contains secure and nonsecure items" error message, which makes it really close to unusable. I'm hosting the YUI files, so they're getting served up over HTTPS, but in the ...

Internet Explorer window in Qt?

Is there a way to show an Internet Explorer instance/frame inside a Qt Widget? I need to show a web page in my application (just show, no need for interaction), and while I read about WebKit for Qt, I'd like to know if there is another way without it, since I'm trying to keep the application as small as possible, and it would make me ver...

PHP - Dynamic images and IE 7

Hello, I have a webapplication where I read images from a sql 2008 database through the 'new' filestream functionality. The thing here is, when you right-click and choose save image, IE gives error 800700de while with Firefox it works fine. The img src is set to a php document which takes a few params to know where to look in the datab...

IE fails to repopulate form after file download and history.back()

I have a web page that has a button that when clicked will download a file for the user. However after the download if the user clicks on the back button the previous form is displayed but the form fields are all blank. If the user clicks back without performing the download then the form fields are automatically repopulated by the brow...

how to receive XML in IE8 with mootools

I'm doing a web where I heavily use AJAX requests to a XML service. In fact, my web is a front-end with almost no server whatsoever and uses AJAX to communicate with the back-end. Everything was going fine (I developed and tested in Ubuntu 9.04 and Firefox 3.0 as a browser). One day I decided to see how my web did in IE8... horror! Not...

How do I view the insecure items on a secure page.

I have a web application which works perfectly fine on my own machines, perfectly fine on my customer's PCs but on their customers machines each page they visit they get a prompt for the Mixed Content coming up. However it doesn't matter whether they answer yes or no to the question, they still get all of the functionality of the site. ...

jQuery Click/Change event not working properly in IE7/8

I am binding an event to a checkbox's change or click event which works fine in Firefox but in IE I have to click anywhere else (causing the blur) event before the event is fired. I have read and believe this is down to the way IE fires the events, but is there anyway I can get round it?! The whole point is that it is a smooth search f...

IE Print CSS and spanning page breaks

I've been working on trying to fix an issue with print CSS and IE where things would disappear when printing in landscape mode. It appears the issue is that the element I'm trying to print (a large DIV with content inside it) spans two pages when put into landscape mode. What is happening is when the element spans two pages, the first ...

How to make contents of <pre><code></code></pre> render correctly in IE7?

I make the following AJAX pull with JQuery using JSON to an ASP.net Web Service: $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "TestWebService.asmx/Foo", data: "{}", dataType: "json", success: function(msg) { $("#justpre").html(msg.d); $("#precode").html(msg.d); } } ); The TestWebService implement...

Knowing whether window.close() will show a security warning

In IE7, a child window opened with window.open can close itself using window.close(), but a window opened with <a href=... target=_blank> will show a security warning if the child window tries to close itself. In my application, I don't know how my child window is opened, and I need to know (in the child window javascript code) whether ...

GZip encoding - what are the potential issues (old versions of IE etc)?

I can vaguely remember that there are certain older versions of certain browsers that do weird things with GZip encoding - in particular I seem to recall a bug in IE which resulted in JavaScript sent over GZip getting mangled. Vague recollections aren't much practical use though. Does anyone know exactly what kind of issues there are an...