<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.7.1.js'></script>
<script type='text/javascript'>
$(window).load(function(){
$(document).ready(function(){
var imgheight = $('img').height();
console.log(imgheight);
});
});
</script>
</head>
<body>
<img
src="http://www.w3cschool.cn/style/download.png" />
</body>
</html>