Sunday, 15 September 2013

how to get width in pixels which has auto width?

how to get width in pixels which has auto width?

I have applied the following jquery and alerts the auto
var $divleft = $('#banner img').parent('div').css('left');
alert($divleft);
Is it possible to get the value of that div in pixels?

No comments:

Post a Comment