Szczegóły ebooka

Instant jQuery Selectors. Learn how to master the art of effectively using jQuery's selectors

Instant jQuery Selectors. Learn how to master the art of effectively using jQuery's selectors

Aurelio De Rosa

Ebook
jQuery's selectors is one of the most important concepts of the jQuery library. Usually, the first thing you do is to select one or more elements of a page in order to manipulate them. Therefore, to efficiently learn the usage of jQuery's selectors is one of the first steps to successfully build your website.

Instant jQuery Selectors is a practical guide that will teach you how to use jQuery's selectors efficiently in order to easily select theelements of your pages to operate upon with jQuery's methods. You will go through the most common problems that you could face while developing your project and will learn how to solve them with the help of focused examples that Instant jQuery Selectors has to offer.

Instant jQuery Selectors, starting from how to set up jQuery and how to choose the right version for your project, explains to you all the selectors available using a multitude of simple and practical recipes that will help you start using selectors in the right way. Reading the presented recipes you'll learn about the numerous selectors and filters of jQuery – almost 100 of them! You will see how to reuse collections, the methods to filter collections, and how to take advantage of the lesser known parameter of jQuery's constructor: context. Also, you'll discover the methods to traverse the DOM and the techniques to improve the performance of your website by just tweaking selectors.

Instant jQuery Selectors is the resource to learn everything you need to know about jQuery's selectors.
  • Instant jQuery Selectors
    • Instant JQuery Selectors
    • Credits
    • About the Author
    • About the Reviewer
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Instant jQuery Selectors
      • Setting up jQuery (Must know)
        • Getting ready
        • How to do it...
        • Theres more...
          • What version to use?
          • Compressed or not?
          • Using a CDN
      • The All selector (Must know)
        • How to do it...
        • How it works...
        • There's more...
          • Alternatives to $(document).ready()
          • Avoiding $(document).ready()
          • css() and browsers support
          • Selectors and browsers support
          • Performance
      • Selecting by ID (Must know)
        • How to do it...
        • How it works...
        • There's more...
          • Escaping special characters
          • Storing a collection
      • Selecting by class (Must know)
        • How to do it...
        • How it works...
        • There's more...
        • getElementsByClassName()
          • Selecting elements having two or more classes
      • Selecting by tag (Must know)
        • How to do it...
        • How it works...
        • There's more...
          • Selecting and using tag names with classes and IDs
          • getElementsByTagName()
      • Multiple selectors at once (Should know)
        • How to do it...
        • How it works...
      • Selecting by hierarchy (Must know)
        • Getting ready
        • How to do it...
        • How it works...
      • Selecting by attributes (Should know)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Multiple attribute selector
          • Not equal selector
          • Using filter() and attr()
      • Selecting by position using filters (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Selecting from elements using filters (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Child filters (Should know)
        • Getting ready
        • How to do it...
        • How it works...
      • Other filters (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Custom filters (Become an expert)
        • How to do it...
        • How it works...
      • Context matters (Should know)
        • How to do it...
        • How it works...
        • There's more...
      • Improving performance re-using selected elements (Become an expert)
        • How to do it...
        • How it works...
      • Methods to filter collections (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
      • Traversing DOM SubTrees (Become an expert)
        • Getting ready
        • How to do it...
        • How to do it...
      • How to have efficient selectors (Become an expert)
        • How to do it...
  • Tytuł: Instant jQuery Selectors. Learn how to master the art of effectively using jQuery's selectors
  • Autor: Aurelio De Rosa
  • Tytuł oryginału: Instant jQuery Selectors. Learn how to master the art of effectively using jQuery's selectors
  • ISBN: 9781783282227, 9781783282227
  • Data wydania: 2013-08-26
  • Format: Ebook
  • Identyfikator pozycji: e_3bes
  • Wydawca: Packt Publishing