show code
<span></span>
<script>
alert($("div").length);
</script>