0% Complete
0/0 Steps

Participants 0

      How to Use jQuery Syntax

      The jQuery syntax is tailor-made for selecting HTML elements and performing some action on the element(s).

      Basic syntax is: $(selector).action()

      A $ sign to define/access jQuery
      A (selector) to “query (or find)” HTML elements
      A jQuery action() to be performed on the element(s)

      $(this).hide() – hides the current element.

      $(“p”).hide() – hides all


      $(“.test”).hide() – hides all elements with class=”test”.

      $(“#test”).hide() – hides the element with id=”test”.

      Welcome to the Digital Strategy Hub

      We are in beta and please email support @ centerfordigitalstrategy.com with any issues or features that would make your experience better.

      We have a feedback call to hear what would be most useful to you:

      Thursday April at 1 ET / 10am PT