Sự khác nhau giữa .height(), .innerHeight() và .outerHeight() ?

{{FormatNumbertoThousand(model.total_like)}} lượt thích
1.760 lượt xem
Jquery basic

 - Nó khác nhau giữa các yếu tố padding, border và margin để tính toán ra kích thước như sau:

  Padding Border Margin
height no no no
innerHeight yes no no
outerHeight yes yes no
outerHeight(true) yes yes yes
{{login.error}}