<!DOCTYPE html>
<html>
<head>
<script src="/lib/jquery-1.12.2.min.js"></script>
<script>
$(document).ready(function(){
    $("button").click(function(){
        var txt = "";
        txt += "outerHeight() of div: " + $("div").outerHeight() + "</br>";
        txt += "outerHeight(true) of div: " + $("div").outerHeight(true) + "</br>";
        $("div").html(txt);
    });
});
</script>
</head>
<body>

<div style="height:120px;width:300px;padding:10px;margin:3px;border:1px solid blue;background-color:lightblue;"></div><br>

<button>Display outer height of div</button>

<p>outerHeight() - returns the outer height of an element (includes padding and border).</p>
<p>outerHeight(true) - returns the outer height of an element (includes padding, border and margin).</p>

</body>
</html>