jquery: why css('width') returns different value than width()

Posted by gruszczy on Stack Overflow See other posts from Stack Overflow or by gruszczy
Published on 2009-07-31T14:18:13Z Indexed on 2010/04/26 10:23 UTC
Read the original article Hit count: 298

Filed under:
|
|

When I run following code:

		node = $('.period')
		alert(node.width() + ' ' + node.css('width'))

i get '0 144px'. How is that possible?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about width