internet-explorer

Javascript-disabled components not disabled after back button

Hi, I'm disabling groups of radio buttons when a user clicks a checkbox, just using raw javascript and the disabled property. My function is trivial: function toggleEnabled(elementId) { e = document.getElementById(elementId) e.disabled = !e.disabled; } and it is called with the onClick event like onClick="toggleEnabled('radio_di...

webclient response is different to the IE response

When i call download data on my webclient, the response is different to when i open it in IE. I am trying to call www.yell.com searching for a type of company in a certain location. When i get my response it finds 2 companies but doesnt actually display them, it just says 2 results found. In IE it actually displays the results. The URLs ...

button styling in IE

I noticed that IE sometimes has very large padding around button text. It seems to be proportional to the amount of text the button has. This makes for very ugly buttons. I am hesitant to make buttons with fixed width because of internationalization issues. Same goes for percent widths. How has people dealt with this short of styling D...

jQuery Internet Explorer Problem

Hola Site at http://www.bringmyshuttle.com has jQuery filtering of thumbnails on the frontpage by category, changing the opacity using category value passed via 3 simple unordered lists. All lovely in FF/Safari, but selecting an category in IE just fades out everything and then squat happens :) This is testing on IE7 on a virtual mach...

opacity in ie using absolutely positioned divs not working

I've been banging my head against the wall for a few hours how trying to sort this out. I'm trying to position one div on top of another for the purpose of fading one in on top of the other. The divs will have an image and some other html in them. I cannot get opacity to work in ie8. I've simplified my html as much as possible: <!DOCTYP...

Tinymce IE6+ How can I get a working range?

I've searching forever trying to figure out why IE will not save the current caret position and then reload it. To be descriptive of the situation it works like this: Client wants Tinymce custom built with an ajax image loader that is simplistic in the nature that any "idiot" can upload and set some settings to an image within the text...

IE8 whines about Prototype, "'undefined' is null or not an object"

I have an element that is dynamically created with new Element('div') and is then faded in, moved, and faded out. In every browser, my code works as expected – every browser but IE. Internet Explorer complains that 'undefined' is null or not an object exactly as documented on Prototype's Lighthouse. To get the error, I write, new Mess...

Background image of h tag being centered in IE

Strange issue that I'm not exactly sure about...also, please feel free to correct me if I am going about the SEO incorrectly, as it is relatively new to me. I have a few h3 tags that I am replacing with images to make them a bit prettier. I still have text in between the tags, but I have made the font-size 0 in hopes that the search spi...

IE cannot find the W3C XHTML DTD (Error 2146697204)

I have a template that starts every page like this: <?xml version="1.0" encoding="utf-8"?> <!-- blah blah--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > <html xmlns="http://www.w3.org/1999/xhtml"&gt; ... </html> that produces the error: The XML page can...

How do Javascript's "multiple execution contexts" work?

Javascript does not have visible threads (yet -- Worker Threads are coming, see more info in http://stackoverflow.com/questions/30036/javascript-and-threads). However, it does seem to have multiple execution contexts that appear to exist simultaneously -- independent, when you have multiple Firefox Windows, and multiple Firefox/IE tabs....

Rails PDF Generation with Prawn in IE7

I'm using Prawn and Prawnto to generate a PDF in a Ruby on Rails app (Rails version 2.2.2) which works great and generates PDFs happily and sends them to the user to download in Firefox. The problem is in IE7. I have a route set up like so: map.invoice_pdf '/invoices.pdf', :controller => 'invoices', :action => 'inde...

IE javascript error - possibly related to setAttribute?

I am using Safalra's javascript to create a collapsible list. The script works across several browsers with no problem. However, when I apply the javascript to my own list, it fails to act as expected when I use IE (I'm using 7 at the moment). It simply writes the list, without the expand and contract images. I copied the Safalra's jav...

maximum length onclick attribute in ie

Does anybody know if there is a length limitation for the onclick attribute in IE7? It seems that my onclick value is cut off after 259 chars. EDIT: Thanks for all your answers. It seems there is not limitation for the onclick attribute. There must be a bug somewhere in my code. ...

IE6: How to get inline base64 images to work with IE6?

How do I get IE6 to display inline base64 encoded images? <img src="data:image/png;base64,....." /> This works in Firefox/Chrome/Safari but not IE6. ...

how to check if checkbox is checked or not in IE 6

I am frustrated with the most idiotic browser of all time, for which, Bill Gates must be hanged I think. I just want to check whether a checkbox is checked or not. Somehow cbox.checked property is always false. What other thing I can do. I saw all the other similar questions, but nothing is working with this stupid IE. EDIT I for...

jQuery.html issue and internet explorer

Whenever I use .html withing a jQuery function such as jQuery.ajax it appends in Interent Explorer. Anybody knows what could be causing this? <script language="javascript"> /* jQuery("#data-grid").html('<b>test</b>'); jQuery("#data-grid").html('<b>test2</b>'); */ </script> OUTPUT: test 2 <script language="javascript"...

jQuery change form action doesn't work for some IE 7 users

I'm having a puzzling issue with Javascript/jQuery and a handful of IE 7 users. I'm lost since I can't reproduce the issue with any IE 7 installation. Here's the code: $("form").submit(function() { $(this).attr("action",$(this).attr("action").replace(/^\/foo/,"")); $("input[type=submit]", this).attr("value",...

IE goes blank when it the activex is downloading for the first time

I am using an activex control in one of my web pages. The size of the activex is 3MB+. For the first time, when the user comes to the page, user gets a blank screen till the activex is downloading and the screen does not load until the activex is completely downloaded. Is there a way to show some kind of a message to the user till the a...

Make IE respect your whitespace with dynmically changed content

If I have the following line in html: <span></span> wtf and then I run the jQuery statement: $("span").html("test"); It ends up looking like "testwtf" instead of "test wtf". Is there anything I can do about this without changing the html? ...

detect tab characters with javascript in IE

I want to detect and replace tab characters in a bit of HTML like this: <code> something { something else } </code Right now, I am using something like this: $(this).html(replaceAll(trim($(this).html()), "\t", "&nbsp;&nbsp;&nbsp;")); But IE, in all its cleverness, changes tab characters into spaces, and so doing the above ...