Use `$.each()` function.