Created
July 2, 2014 13:24
-
-
Save alexmoleiro/621f50fb9baf8f359153 to your computer and use it in GitHub Desktop.
Navegar por todos los elementos del DOM con un atributo determinado
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
| function getTldPorId() | |
| { | |
| var IDs = []; | |
| $("#widgetBusqueda").find("[tld]").each(function() { | |
| IDs.push($(this).attr("tld")); //IDs.push(this.id); | |
| }); | |
| return IDs; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment