I don't know it this is considered a bug or not but, hasn't anyone noticed
that if you try to access a css property through the .css(property) function
to an object that doesn't exist the whole application crashes?I found out
when I used
var numCharDisp = parseInt($("#char_nav").css("width"))/parseInt($("#char_nav
img").css("width"));
and I still hadn't implemented #char_nav. Firebug gave me this error
message:
elem has no properties
e(undefined, "width", undefined)jquery.js (line 1)
e("width", undefined, "curCSS")jquery.js (line 1)
e("width", undefined)jquery.js (line 1)
(no name)()index.html (line 93)
e()jquery.js (line 1)
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a...
So, what do you guys say? bug or not?
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/