how can I create map to send it like post-data, using ajax? For exmaple, I has an iterator **each** function, where I should do something like:

```
var map = [];
...each(function() {
map[ $(this).key() ] = $(this).val();
});

```

Or what another synax?