$(\"#someDiv\").attr(\"scrollHeight\") works in jquery 1.3.2 for all browsers. But on updating to jquery 1.6.1, it only works in I
$(\"#someDiv\").attr(\"scrollHeight\")
jQuery 1.6 introduced .prop and changed the meaning of .attr.
.prop
.attr
Read all about it.
(Always worth checking the documentation first; the page for .attr talks about this too.)