internet-explorer-8

Plain JavaScript execution in Firefox/Internet Explorer after browser navigation

Hello there, In IE8, history navigation (back/forward) causes code to be executed on the onload handler. How can I get Javascript in Firefox to also execute after a back or a forward? Thanks ...

jQuery ajax requests locking IE8. Cannot click to another page until request completes.

I cannot seem to find anything about an async request locking up IE8 but it is happening to me. The browser will not allow navigation away from the current page until the request completes. Example: if I open page the script below does a request to place icons on a page based on additional data not available while building the page. Wh...

IE8 button gets "stuck down" when mouseup event is set

I have a <button> with a nested image and I'm using jQuery to toggle the image src attribute on mousedown and mouseup. When the button is clicked in IE8 the image moves down and right 1 pixel, as buttons do in IE, but then it sticks there and won't return to its original position. If I remove the mouseup event the button functions normal...

ie8 and selectedIndex and windows.onload issue

Hello, To set the selected index of my dynamic list, I tried to use: // Runs on load of page and after submit work is done window.onload = function(){ var sSel = document.getElementById("server"); sSel.selectedIndex = 0; // the next call that creates a dynamic listbox fails. It does not // s...

JQuery accordion bug in IE 8? Workaround?

To see this accordion animation bug, go to http://hopplayground.com/ with Internet Explorer 8 (IE8) Click on "Bios". The first click on a menu item should open the submenu. But it doesn't, nothing appears. The second click kind of closes the menu, but leaves artifacting. Using other menus works correctly. Question: What is causing t...

Reason behind a JavaScript parsing error in MSIE 8

Given something like var obj = { foo: function(){ try{ doSomething(); }catch(ex){ //@TODO - report error } } } MSIE 8 would throw up a "Missing semi-colon on line #" which was where the @TODO was. After I sed'd the dozens of @TODO's to be !TODO, MSIE was able to prop...

Facebook Comments not showing up in IE 8

Having an issue with the Facebook Comments Social Plugin - it works fine in FF and Chrome, but never shows up in IE 8. I've stripped it down to the bare minimum, just in case there's a problem with my company's CMS - but it still doesn't show up in IE 8. Page is here: http://www.idigbig.com/pages/fbcommenttest23.html Error in IE: Web...

Can I change the border color / style of a SELECT element using CSS in IE 8?

I have seen that the situation is very problematic after reading these: http://stackoverflow.com/questions/380037/ie6-ie7-css-border-on-select-element http://api.jquery.com/css/ However maybe the situation has changed with Internet Explorer 8. If that is so, I'd expect this piece of code to work in IE8: $(selectObject).css("border", ...

jQuery hide() does not work as expected on IE 8

In FF this hides all divs and then shows the id that was selected from the '#rule_rule_type' menu, which is the expected behavior. In IE 8 it does not hide all div id's: <script type="text/javascript" charset="utf-8"> (function($){ $('#rule_rule_type').change(function() { $('#allowed_senders, #blocked_senders, #blocked_char...

IE doesnt add HTML to the dom using $.append or $.html()

I have a div that I'm trying to add html to. When I use a small html string it works, but when I try to add large html string nothing happens. $("div") .html (data ) // about 1kB of html content $("div" ) .html() // it return empty If I do the same with a little html code like <p></p> it works. Any suggestions? I am using Internet...

IE 8's Developer Tools: Browser Mode: IE 7, IE 8, but what is IE 8 "Compatibility View"?

In IE 8, we can bring out the Developer Tools. Then on top, there is a Browser Mode: IE 7 IE 8 IE 8 Compatibility View So if IE 7 is to force the page to be shown as if the browser is IE 7, and IE 8 is to force the page to be shown using the standard IE 8 as it is, then what is the extra IE 8 "Compatibility View" for? What use is it...

Printing in IE8 Has @href contents inline

Can someone tell me how to stop IE8 printing the value of the href for an A tag next to the text. For example this markup <a href="/site/page.html">Some Link</a> When printed comes out as Some Link(/site/page.html) when printed. How can I stop this? ...

window.clipboardData.setData and BOLD text

Is there a way I can make window.clipboardData.setData (javascript code that works in IE only) store text that is formatted? I can figure out new line breaks, but I'm after bold/underline/italic text. I'm sure there are differnt types of encodings to do this, I'm just not sure where to start looking. As the text is intended to be post...

If I force IE 8's Developer Tools to be "Browser Mode: IE 8" and "Document Mode: IE 7 Standards", is it now IE 7 or IE 8?

If I serve a page using <meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'> using HTML 4.01 strict, and load this page into IE 8, then the IE 8's Developer Tools shows that it is using: Browser Mode: IE 8 Document Mode: IE 7 Standards Well then, is IE 8 using partly IE 8 engine and partly IE 7 engine? Which part is IE ...

Does jQuery's fadeIn() and fadeOut() not work with IE 8?

I have a page that fadeIn and fadeOut an inline element and jQuery doesn't work. And then when I change the Developer Tools to use Browser Mode of IE 7, then the fadeIn() and fadeOut() effect is showing. ...

JQuery Tools Modal Overlay - broken in IE8

I have a jQuery Tools Modal Overlay on my website, and it works perfectly fine in both Chrome and Firefox... however, when I view the page in IE8, the black background mask appears on top of the dialog DIV... in addition, the div appears at the bottom of the page where the actual code is as opposed to centered on the screen. In addition...

IE8 blacklisted domain forcing non-standards mode

I was doing some tests on IE 8 on a standards-compliant page, with a strict doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; However, apparently the page was being rendered in "IE 8 compat view"/"IE7 standards", which was breaking the layout. After looking around, I discovered that...

Pasting HTML into IE8

Hi Everyone, One of our products uses a Javascript Rich text editor, which has the ability to accept pasted HTML/Word and clean it up so the html is XHtml valid and presentable. This has been working fine for a few years, but recently we've been having complaints about pasting; from users with IE8. It turns out that regardless of sett...

Table renders beautifully in Chrome, but not in IE 8

Hello, The CSS below beautifully places the table styled by commentecho 250 pixels below the top of the browser window. However, in IE 8, the table starts about 2 pixels below the top of the browser window. How can I make it do in IE 8 what it does in Chrome? Thanks in advance, John table.commentecho { margin-top: 250px; ma...

Is there a way to freeeze Selenium-RC execution on error?

My Google-fu is weak and so I turn to the hive mind... I have a Selenium script I originally developed in the IDE, which I am now trying to adapt to run on IE8 via Selenium-RC. I'm trying to debug an error where an element is not being found. The problem is that as soon as the error occurs, the script exits and RC closes the browser. ...