Index

jQuery

The DOM manipulation library.

  1. Including the library

  2. Download it and link it locally.

          
            <script type="text/javascript" src="jquery.js"></script>
          
        

    Link to a CDN (hosted copy).

          
            <script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.js"></script>
          
        

    jQuery preview:

          
            $('#trigger').click(function() {
              $('body').css('background', 'coral');
              $('img').fadeOut(3000, function() {
                $(this).remove();
              });
            });
          
        

  3. Selectors

  4.       
            $('selectorGoesHere');
            //
            $('#id');
            $('.class');
            $('p');
            $('p > a');
          
        

  5. Common Methods

  6. See all methods...


  7. Common Events

  8. See all events...


  9. Effects

  10. See all effects...