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