Created
September 3, 2015 12:18
-
-
Save tommcfarlin/df621930bf088f504c4b to your computer and use it in GitHub Desktop.
[JavaScript] Get Values of Multiple Elements in jQuery
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
$( '.review-id' ).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