Created
April 20, 2016 07:32
-
-
Save sravan-s/0699fcb9c9b62d2d44f1819e981bc377 to your computer and use it in GitHub Desktop.
get id of all selects in array
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
var k = $('select'), p =[]; | |
for(i =0;i <k.length; i++) {p.push("#" + k[i].id)}; | |
console.log(p); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment