[jQuery] jquery 1.0 & .css & IE --> Change, Bug, ??
All,
I noticed that when I changed over to jquery 1.0 some of my code was
not working in IE6. Particularly, whenever I was using ".css" and a
css property that was more than one word. For example,
$('#MyDiv').css('border-color', this.value);
- This works in FF1.5, Op9, but NOT IE6
However, this:
$('#MyDiv').css('borderColor', this.value);
- works in FF1.5, Op9, IE6
I tried some tests and the same issue exist for things like:
border-width
font-style
font-family
font-size
font-weight
text-align
I am pretty sure that it is any style property that is more than one word.
The 1.0 API docs are a little unclear on this one. Perhaps they could
clarify if we should use the css properties or the javascript reference?
Is this a change in 1.0? A bug? I am fairly confident that I tested
this before in an older version of jQuery (maybe even 1.0a) and did
not experience this in IE6. Please let me know if I am missing
something.
Thanks,
Jeff
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/