JavaScript DOM dimension properties (height, width) vs. jQuery dimension methods
- by powerboy
Take height for example.
JQ height() <=> JS height // WITHOUT padding, border and margin, including invisible areas
JQ innerHeight() <==> JS ??? // WITH padding, WITHOUT border and margin, including invisible areas
JQ outerHeight(false) <==> JS ??? // WITH padding and border, WITHOUT margin, including invisible areas
JQ outerHeight(true) <==> JS ??? // WITH padding, border and margin, including invisible areas
JQ ??? <=> JS offsetHeight // WITH padding and border, WITHOUT margin, NOT including invisible areas
JQ ??? <=> JS clientHeight // WITH padding, WITHOUT border and margin, NOT including invisible areas
Please help me to correct and complete the list.