internet-explorer

innerHtml and innerText destroys tabs in Internet Explorer

I want to take the content of a textarea and put it in a <pre>. Problem is that if i set the innerHTML-property of the pre to the value of the textarea all tabs and linebreaks will be removed in Internet Explorer. If i use innerText instead of innerHtml i will get the line-breaks but tabs still disappear. Works fine in other browsers. I...

Jquery code don't work in IE8. What to do?

Hello. I'm writing a web-application for the first time. Everything was tested in Chrome. And now i begin testing in IE8 too and found that my application have problems with positioning and jquery script. Here is a problem: when i change something in css (for example positioning), my web page in IE8 isn't change. I pushed refresh button ...

Printing in IE does not show changes made with JS

I'm working on a legacy application that has tabbed interfaces using Tabstrip and MultiPage control. The tabs are all loaded at once and then when you click on one a postback does not occur to switch to the tab. If a user switches to another tab and prints, they see the first tab in the print, not the one they've changed too. Short fo...

IE: Unicode characters in HTML select and option tags

I need show options in a select with unicode characters. Try this: <select id="ddlNota_CateId"> <option value="1091">&#26641;&#31435;&#20351;&#29992;ICT&#30340;</option> </select> And show unrecognized charcaters (树立使用ICT的). :s Example in http://200.115.217.50/test.html ...

JQuery css opacity on transparent png + IE = dark ugly outlines on transparent pngs...

Not sure what is going on here, but the opacity setting in this line of code is turning my transparent png in IE into an ugly mess. This wasn't just for IE6 but the newest version of IE as well. Any ideas? $('#someid.pre').css({margin:'0px', right:'0px', opacity:'1.0'}); ...

How could I apply the class or the style to some HTML element in IE?

I'm doing an application that has to parse elements in an XML tree to HTML and in all the browsers it goes well but IE doesn't want to apply the styles to the elements. How could I fix this? function add2Doc(elmnt, domDoc, newEl) { /* * This function transform an * element to into the an acceptable * part of another ...

Missing cookie in IE 6, 7,and 8

I'm sending 2 cookies to the browser. One is a browser identifier which expires in 1 year, and the other is a session tracker without an expiration. The response headers for a fresh request look like this HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 X-XSS-Protection: 0 ETag: "b502a27282a5c621f34d522c3fcc8e3e" Set-Cookie: bid=a...

What does it mean when IE reports two versions in UserAgent?

I'm seeing cases where the IE useragent string has multiple parts reporting to be different versions. For example: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; {B93AEBFF-7B72-44EA-B006-8CB078CC1911}; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CL...

IE7 z-index issue

Ive read a handful of articles about z-index issues in IE7. Tried applying a handful of them but nothing seems to work. Check it http://etomco.com/beals/ Firefox looks great and works great. IE7 the image of the Teacher (scroll a little bit) is not clickable. Im floating a over the graphic because i dont feel like cuttin up all the im...

innerHTML property not updating in IE6 and IE7

Can someone tell me why I can't set the innerHTML property of a SPAN element in IE6 or IE7? It works perfectly in IE8. The getRating function returns the value and sets the txt variable, which can be shown in an alert box. However, the rating element's innerHTML property will not update without actually refreshing the entire page. I'm ...

jQuery AJAX request returning null in IE only

I'm trying to GET an HTML document using the jQuery ajax() method. When I try and parse the returned data using $(data) all browsers other than IE are returning a DOM element, where as IE is returning NULL. I've checked 'data' and it's a string as expected. Any ideas what might cause this? I'm guessing it could be errors in the markup...

Resize event not handled

I have a simple webpage that IIS is hosting. This page is being called via a window.openModalDialog() command. I am using IE8. The div/body are set to fill the browser window. This works everytime except the first time this page is loaded. The first time this page is loaded, the body does not fill the size of the browser window. For so...

ASP.NET AJAX Website not working on InternetExplorer ( but on other browsers is doing ok)

Hi guys! I have asp.net web site which uses AJAX ( including AjaxControlToolbox), I have button which populates PlaceHolder which some data from database. PlaceHolder is placed in the UpdatePanel and some UpdateProgress "loading image" is connected to it. Everything is going fine on Chrome, Opera or Firefox, but on IE(7 & 8) when I c...

Dashed border rendering bug in IE8

Hi, I've come across yet another problem in IE8 - dashed borders scramble and break when scrolling the page. Below are 2 w3-valid pages demonstrating the behavior: as HTML4 transitional and XHTML1 transitional. In the 1st example I've discovered an utterly weird fix for the problem by adding an <input> element. Whenever it's there, the...

What is this thing I see in Internet Explorer jQuery1281617118201="24" , jQuery1281617118201="26" on some of my markup ?

Title says it all .. Thanks :) ...

JWPlayer IE issues, screen going blank after being hidden and shown.

Hi, I'm using jwplayer in html tabs in IE with jqery showing and hiding them (via style:hidden;) When I hide a tab in IE and then show it again the plays video area goes blank (you can still hear sound and play/pause the video). Does anyone know why this is happening or have a way to fix it. Cheers. Here's the jQ doing the hiding / ...

Annoyance with space after <span> tags in Internet Explorer.

<div onclick="alert(this.innerHTML);"> <p>Since you saw <span title=":P" class="emoticon tongue"></span> if <strong>you read</strong> the intro post <span title=":D" class="emoticon laugh"></span><span title=":D" class="emoticon laugh"></span> a</p> </div> I have this markup, its fine and behaves as expected in all other browsers (as...

IE stop script warning

Only in IE I get a warning when loading my site containing javascript saying that its causing the page to run slowly (and asking if I want to stop it). I've seen other posts about this and I've looked for any long running code or infinite loops etc. The weird thing is, when I select 'No' (to not terminate the script) the page immediate...

Reorder IE Context Menu

Hi, We have developed an Internet Explorer Addon using BHO and C#. We added a few context menu actions (for the IE that are using the addon) as well. We've used the registery entries under the HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\ to add the context menu entries. Is there a way to order the enntries? Or add a s...

IE "Object Expected" error trying to get img from Java Servlet

I have the following image tag in a JSP: <img id="validationGraph" src="/myapp/MyServlet?mode=myMode" usemap="#validationMap" border="0" onLoad="getImageMap()" /> A Java servlet uses JFreeChart to generate a png image and write it to the output stream. This works fine in Firefox and Chrome, but I am getting an intermittent error in...