IE7 still refuses to listen to dynamically changed attributes
As I've covered previously, IE6 simply would not listen to changes made to an elements attributes. If you asked the element for its className immediately after assigning it a new one, it would proudly tell you that it assigned it. But it would fucking refuse to actually apply any kind of rendering change to the element.
IE7, just released, still doesn't get it. Guys, when I give you a new className or any other attribute a new value, I fucking mean it.
So until this works, any dynamically changing attributes need have the element's parentNode's innerHTML set to itself. Yes, set to itself... Just because IE knows changes get made doesn't mean that it listens. You have to sprinkle your code with:
IE7, just released, still doesn't get it. Guys, when I give you a new className or any other attribute a new value, I fucking mean it.
So until this works, any dynamically changing attributes need have the element's parentNode's innerHTML set to itself. Yes, set to itself... Just because IE knows changes get made doesn't mean that it listens. You have to sprinkle your code with:
// Seriously, IE. I really fucking meant that: change the goddamn class.
changed_element.parentNode.innerHTML = changed_element.parentNode.innerHTML ;
Labels: ie sucks, internet explorer