From b2f66c57cfb57d31572ba571239f4891e35b3bcc Mon Sep 17 00:00:00 2001 From: lsoares Date: Tue, 19 Feb 2013 12:50:52 +0000 Subject: [PATCH] Update page/using-jquery-core/selecting-elements.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Qualification (prefixation) is no longer useful; as the modern browsers have the document.querySelectAll() available, qualification even slows down the process. Proof in:  http://jsperf.com/jquery-class-vs-tag-qualfied-class-selector/10 --- page/using-jquery-core/selecting-elements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page/using-jquery-core/selecting-elements.md b/page/using-jquery-core/selecting-elements.md index 1e750b44..0dafe422 100644 --- a/page/using-jquery-core/selecting-elements.md +++ b/page/using-jquery-core/selecting-elements.md @@ -16,7 +16,7 @@ $("#myId"); // note IDs must be unique per page ``` // Selecting elements by class name -$("div.myClass"); // performance improves if you specify element type +$(".myClass"); ``` ## Selecting Elements by Attribute