02 - Ajax-jQuery (Part 2).pptx - jQuery jQuery Resources https/jquery.com https/www.w3schools.com/jquery/default asp jQuery jQuery is a fast and concise

02 - Ajax-jQuery (Part 2).pptx - jQuery jQuery Resources...

  • No School
  • AA 1
  • 18

This preview shows page 1 - 7 out of 18 pages.

jQuery
Image of page 1

Subscribe to view the full document.

jQuery Resources: . asp
Image of page 2
jQuery jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. jQuery provides several methods for AJAX functionality (Same job but easier with different browsers).
Image of page 3

Subscribe to view the full document.

Adding jQuery to Your Web Pages jQuery library is a single JavaScript file that can be downloaded from jQuery.com Place the downloaded file in the same directory as the pages where you wish to use it. reference it with the HTML <script> tag (notice that the <script> tag should be inside the <head> section) If you don't want to download and host jQuery yourself, you can include it from a CDN such as Google CDN: <script src="jquery- 1.12.0.min.js"></script> <script src=" .min.js"> </script>
Image of page 4
jQuery Syntax Basic syntax is: $( selector ). action () A $ sign to define/access jQuery A ( selector ) to "query (find)" HTML elements A jQuery action () to be performed on the element(s) Examples: $(this).hide() - hides the current element. $("p").hide() - hides all <p> elements. $(".test").hide() - hides all elements with class ="test". $("#test").hide() - hides the element with id ="test".
Image of page 5

Subscribe to view the full document.

jQuery Selectors jQuery selectors allow you to select and manipulate HTML element(s).
Image of page 6
Image of page 7
  • Fall '19
  • HTTP

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes