how to use map array in jquery code example Example: jquery map $( ":checkbox" ).map(function() { return this.id; });