Created
February 13, 2018 07:40
-
-
Save ceaksan/b9e63fff4ac8acc362a0fe0437bd5a39 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
$( '.className' ).map(function() { | |
return $( this ).text(); | |
}).get().join( ',' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
var selectedVal = jQuery.map(jQuery("#search_brand option"), function(a){
return a.text;
}).join(',');
console.log(selected_val);