Ruby on Rails
JavaScript, XHTML, CSS
Java, Distributed Systems
<you_name_it>
IGNORE - v0.6.2: Invalid Argument with Internet Explorer
Submitted by sionnach on Thu, 07/02/2009 - 18:03
I keep getting an invalid argument error on Line 262:
mwc.childNodes[i].style.height = (el.offsetHeight - bh - th) + "px";
bh and th have the value of 10 whilst el.offsetHeight is 0, hence the error, I'm guessing.
Thing is, why does this happen in v0.6.2? v0.6.1 doesn't cause it.
***edit***
Scrap that, the object hadn't been rendered yet it seems!
Trackback URL for this post:
http://www.ruzee.com/trackback/248

Yeah... I also have the same
Yeah... I also have the same problem.
have you solve it yet?
Yes, as I mentioned above,
Yes, as I mentioned above, the object in question hadn't yet been rendered when I was trying to use it. I simpley waited for it to be finished (using JQuery's .ready(function()) and then rendered it.