map
英[mæp] 美[mæp]
n. Map, celestial map; something similar to a map;
vt. draw (a region, etc.) map; survey; detailed planning; [genetics] comparison
jquery map() method syntax
Function:map() passes each element to the current matching collection through the function and generates a new jQuery object containing the return value.
Syntax:.map(callback(index,domElement))
##Parameters:
Description | |
The function object called for each element in the current collection . |
Note:Since the return value is an array encapsulated by jQuery, use get() to process the returned object to get the underlying array.