Joda Maki Joda Maki - 1 year ago 39
Javascript Question

How to find the width of a div using raw Javascript?

How do you find the current width of a div in a cross browser compatible way without using a library like JQuery?

Answer Source

Or, to include border size in the width: