<html> <head> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(document).ready(function(){ $("*", document.body).css("border","1px solid red"); }); }); </script> </head> <body> <div class="notMe">div </div> <div class="myClass">div</div> <span class="myClass myOtherClass">span</span> </body> </html>