Created
January 30, 2014 03:07
-
-
Save sranso/8701821 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// selectors | |
$("#candyCanes") //says go grab me everything with this id. | |
$(".polarVortex") //class | |
$("footer") //with this element tag | |
// filter selections | |
$("div.foo").has("p"); //with p tag | |
$("h1").not(".bar"); //w/o bar | |
$("ul li").filter(".current"); //w current | |
$("ul li").first(); //first | |
$("ul li").eq(4); //fifth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment