Last active
March 1, 2017 18:09
-
-
Save juliozuppa/c63e19c1bdf8742e9b7bbd7a78be0bfa to your computer and use it in GitHub Desktop.
jquery_seletores
This file contains hidden or 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
Contém: | |
$("input[id*='DiscountType']") | |
Não contém: | |
$("input[id!='DiscountType']") | |
Começa com: | |
$("input[id^='DiscountType']") | |
Termina com: | |
$("input[id$='DiscountType']") | |
Contém palavra delimitada por espaços: | |
$("input[id~='DiscountType']") | |
Igual ou começando com uma seqüência de caracteres seguido por um hífen: | |
$("input[id|='DiscountType']") | |
http://api.jquery.com/category/selectors/attribute-selectors/ | |
http://rosshawkins.net/archive/2011/10/14/jquery-wildcard-selectors-some-simple-examples.aspx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment