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

· Packt Publishing Ltd
Ebook
70
Pages
Tools

About this ebook

Learn how to master the art of effectively using jQuery s selectorsKey Features
  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Create your own jQuery filters to retrieve elements using a mnemonic name chosen by you
  • Learn how to improve performances by just tweaking selectors
  • Combine multiple selectors to express complex criteria
  • Filter a collection of elements using the myriad of filters available in jQuery
Book DescriptionjQuery'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.What you will learn
  • Include the jQuery framework in your website
  • Choose the right version for your project
  • Use basic selectors like the Universal, the ID, and the Class selector
  • Combine multiple selectors to create a complex one
  • Select elements based on their position in the DOM or by their relation with other elements
  • Learn and master jQuery s filters and create your own to fit your needs
  • Discover the methods to find elements starting from a matched set of nodes
Who this book is for

Instant jQuery Selectors is for web developers who want to delve into jQuery from its very starting point: selectors. Even if you're already familiar with the framework and its selectors, you could find several tips and tricks that you aren't aware of, especially about performance and how jQuery acts behind the scenes.

Learn how to master the art of effectively using jQuery s selectorsKey Features Learn something new in an Instant! A short, fast, focused guide delivering immediate results Create your own jQuery filters to retrieve elements using a mnemonic name chosen by you Learn how to improve performances by...

Discover more

About the author

Aurelio De Rosa is an Italian web and application developer with more than five years' experience in programming for web using HTML5, CSS3, JavaScript, and PHP. He mainly uses the LAMP stack and frameworks, such as jQuery, jQuery Mobile, and Cordova (PhoneGap). His interests also include web security, web accessibility, SEO, and WordPress. He is currently self-employed working with the cited technologies and is also a regular blogger for several networks (SitePoint, Tuts+, and FlippinAwesome), where he writes articles about the topics he usually works with and more. You can find more about him at his website http://www.audero.it.

Aurelio De Rosa is an Italian web and application developer with more than five years' experience in programming for web using HTML5, CSS3, JavaScript, and PHP. He mainly uses the LAMP stack and frameworks, such as jQuery, jQuery Mobile, and Cordova (PhoneGap). His interests also include web secu...

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.