Skip to main content

jQuery Tip #1 – Defining a Context When Using Selectors

jQuery Tip #1 – Defining a Context When Using Selectors: jQuery Tip #1 – Defining a Context When Using Selectors:

I really enjoy working with jQuery and have had the opportunity to use it a lot over the years on various projects.  It’s an essential part of my “technology tool belt”. My company has also started providing new training classes on jQuery to various companies and I’ve had a lot of great questions come up about best practices, tips and tricks, when certain functions should be used over other functions, and more.

I decided to put together a series of posts that highlight simple tips and tricks that I’ve used in jQuery applications over the years to provide some guidance to developers new to jQuery and provide answers to different questions I’ve been asked. In this first post I’ll cover an oldie but goodie tip – defining a context when using selectors. It’s something I struggled with when I first started using jQuery but once I found the secret (which is quite easy) it changed how I used selectors and how I used CSS classes...



[[ This is a content summary only. Visit my website for full links, other content, and more! Your comments are envited for your liking disliking and queries about the article]]

Comments

Popular posts from this blog

Authenticate User on Active Directory

What is Active Directory A directory service from Microsoft that is a part of Windows 2000. It is an implementation of Internet standard directory and naming protocols that uses a database engine for transactional support, and also supports a variety of application programming interface standards. System.DirectoryServices Namespace The System.DirectoryServices namespace provides easy access to Active Directory Domain Services from managed code. The namespace contains two component classes, DirectoryEntry and DirectorySearcher, which use the Active Directory Services Interfaces (ADSI) technology. ADSI is the set of interfaces that Microsoft provides as a flexible tool for working with a variety of network providers. ADSI gives the administrator the ability to locate and manage resources on a network with relative ease, regardless of the size of the network. System.DirectoryServices.ActiveDirecto...

"Time-Saving VS11 and ASP.NET 4.5 Features You Shouldn’t Miss” ebook by Telerik

“Time-Saving VS11 and ASP.NET 4.5 Features You Shouldn’t Miss” ebook by Telerik : Here is a nice opportunity offered by Telerik : They have created this amazing new ebook that you can download for free. More than that, you don’t even need to register to download the pdf, so it is free free! What’s inside ? Intellisense help you discover JS and CSS features WAI Aria makes the web usable by all HTML5 and CSS3 are available out of the box WebAPI exposes data via HTTP service Strongly Typed Data Binding ensures runtime confidence Request Validation prevents yellow screens of death Page Inspector puts an end to layout headaches Download it here: Free E-book: Time-Saving VS11 and ASP.NET 4.5 Features You Shouldn’t Miss I strongly recommend this reading, you will not loose your time and will learn something new for sure!