jquery array filter and map javascript code example Example: jquery map $( ":checkbox" ).map(function() { return this.id; });