Home > jQuery > Get width of a hidden element

<style>
.element {display:none}
</style>

<script>
$('.element').show();
var width = $('.element').width();
$('.element').hide();
</script>



Flag Counter