internet-explorer-8

Why does dynamically populating a select drop down list element using javascript not work in IE?

I have a <select> element that I dynamically populate with different values at runtime. I use the code below to clear the <option> elements and then reload it with new ones. It works in Firefox 3.6.6 and Chrome 5.0. function loadPickerFromObject(pickerControl, values) { pickerControl.empty(); for (var nameProperty in values) { ...

IE8 fails to display dinamically added image

I have jQuery code like this workig fine in FF, but totally fails in IE8: $('#tekst img').each(function(){ var scrValue = $(this).attr('src').substring(0,4); var imgTyp = $(this).attr('class').substring(1); if(scrValue == 'tbid') { var...

Inconsistant IE8 ajax post success from MVC2

I am getting an incosistant error in IE8, it happens about half the time. I have cascading drop downs using ajax to fetch the next select box options. $(function () { $("#stock_item_id").change(function () { var stock_item = $("#stock_item_id > option:selected").attr("value"); $.ajax({ type: "POST", ...

how to capture the resize event in IE8

The resize event does not seems to get fired in IE8 . It works perfectly in Firefox and chrome . $(window).resize(function() { alert( " resize called " ) ; } Am I missing something . ...

IE Standards modes

Hi I just have a quick question about IE8 Standards mode vs Quirks mode. The page displays fine if you load its first page then log in. I have searched for the doc type which i think is right for changing the page to IE8 Standards Mode and i think it works because IE's built in debugger says it's in that mode. Also if you start on anot...

javascript hide/show fails in ie8

I have the following javascript function hide(id) { var ele = document.getElementById(id); if ((ele.style.display == 'none') || (ele.style.display == '')) { try{ ele.style.display = 'table-row'; } catch (e) { ele.style.display='block'; }} else {ele.style.display = 'none';} } which works i...

Absolute positioning bug in IE8

Hello, Internet Explorer 7 & 8 (IE7 & IE) are not positioning drop down menu items properly using absolute positioning. FireFox, Chrome, and Safari all render the drop down menu item(s) positions properly. In IE7 & IE8, the the drop down menu items are offset to the right instead of dropping down directly under the parent item. The sit...

setcookie problem IE8

Hi, I cannot get setcookie to work with IE8. My script works fine in IE7, firefow and Safari, but it doesn't seem to work in IE8 running on Windows7 and I'm getting desperate! I'm using a very short small test script now: <?php $value = 'content'; setcookie("CookieTest", $value, 0); ?> With Firefox this works fine, the cookie is bei...

Not Implemented IE8: Working around this?

I get an error on this line in IE8 with the Not Implemented error. How do i execute this line on other browsers and have IE8 ignore this? window.onbeforeunload = function () { This is weird. Theres nothing inside of this that should cause an error. This script is loaded at the end of body so all html exist and moving this code to the ...

Anonymous in IE 8

Why anonymous function is not supported in IE8? ...

IE8 Ajax refresh not working

I'm using Ajax to refresh the contents of a div each time a subsequent request is made. It's important that the requests occur serially because the requests are being made to a billing system where each request represents a queue action that needs to complete before the next one can proceed. So I have set the xmlhttp.open boolean paramet...

Dynamic content loads into jQuery qtip in all browsers except IE

Hi all! qTip...a jQuery custom tooltip plugin... isn't loading dynamic content for IE8 (haven't tested in IE6/7). qTip initializes but no content (text) loads into it. Here is my code: errorPlacement: function(error, element) { var errorcontent=eval(error); element.parents('.rightfields').find('.nore...

jQuery UI switchClass fails under IE8

I'm trying to use jQuery UI to animate a transition on a form and while the code works correctly in Firefox and Chrome, a Javascript error occures in IE8. I'm using jquery-ui-1.8.2.custom.min.js and the error given is: Message: 'end.0' is null or not an object - Line: 819 - Char: 6 My CSS: .formfield { background-color: White; ...

CSS Rollover :hover image not rolling over in IE8

I have quite a lot of problems with IE7, but this time IE8 is doing something strange. The next piece of code does not work: <style> .inschrijven{ display: block; width: 460px; height: 150px; background: url("image.png") no-repeat 0 0;} .inschrijven:hover{background-position: bottom;} .inschrijven span{display: none;} </style> <div ...

IE8 inserting text to textarea problem

I have some code to insert tags to textarea (for Internet Explorer). But I have problem with IE8. If there is lots of text and I try to insert text somewhere in the end - it's scrolled up. Code: <script type="text/javascript"> function bold() { var text1 = document.getElementById('text1'); var sel = ''; if (document.select...

jQuery wResize - resizing IE windows

Hi, I have encountered a problem with re-sizing IE windows. I have considered using a timeout event, but this isn't good enough because time may vary from one re-size to another and I'm not interested to setting a time-out to 5+ seconds. Are you aware of any alternatives to wResize jquery plugin? THank you ...

ie8_getElementById()

Whats the difference between document.getElementById() and document.ie8_getElementById(). Thanks in adv. ...

common problems with images html

Are there any common problems why alt attributes on images wont work. Tested for IE8 Standards mode. Thanks in adv. ...

IE8 and jQuery selectors

Hi all, Today it came to my attention that a combination of jQuery selectors and the addClass() function does not work properly on IE8. For example, when I want to ensure that even-numbered rows are selected in a table, I wrote: jQuery(document).ready(function($){ $("#table1 tr:nth-child(even)").addClass("even"); } And for the C...

IE8 on Windows 7 - Link To MSI causes about:blank to open as well.

I'm maintaining an intranet page with installation instructions. Annoyingly in Windows 7 / IE8 when I click on a link that contains an MSI the page jumps to about:blank - this didn't happen in XP! The href part is below, I tried target=_blank but no joy!. href="subffolder/amis.msi" ...