Posts by wickeed • 31 points
1 post
-
3
votes3
answers627
viewsA: How to collect the height of an element with jQuery
Please check if the following code solves your problem: $(window).load(function() { console.log($("#foo").outerHeight()); }); I don’t think the image will be loaded the moment you try to calculate…