Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript" src="jquery-1.3.2.min.js">
- </script>
- <script type="text/javascript">
- $('document').ready(function(){
- count = $("div:not(:empty)").size();
- alert(count);
- });
- </script>
- </head>
- <body>
- <div>
- text
- </div>
- <div>
- </div>
- <div>
- text
- </div>
- </body>
Add Comment
Please, Sign In to add comment