Trying to get my site running in IE6 but having trouble with some runtime css stuff that I need to do.
I've tried both these:
$.rule('#post'+ i + '{ visibility:hidden;}').appendTo('style');
-
var postStyle = document.createElement('style');
postStyle.type = 'text/css';
postStyle.innerHTML = '#post'+ i + '{ visibility:hidden;}';
document.getElementsByTagName('head'[0].appendChild(postStyle);
Works in other browsers but not IE. I get this error:
"Object doesn't support this property or method"
Any ideas?