Learn how Script Tags and Document Ready Work

  1. <script>
  2. $(document).ready(function(){
  3. });
  4. </script>

Target HTML Elements with Selectors Using jQuery —- jQuery 元素选择器

  1. $("button").addClass("animated bounce");

Target Elements by Class Using jQuery —- jQuery 类选择器

  1. $(".well").addClass("animated shake");

Target Elements by ID Using jQuery —-