Y
Hacker News
new
|
ask
|
show
|
jobs
by
chengyinliu
4621 days ago
Just curious, is there any reason you used `$.each` instead of `$(".down.arrow").each`?
2 comments
k3n
4621 days ago
Protip: you don't even need an each() at all[1].
So the above could be written:
$(".down.arrow").click();
1.
http://jsfiddle.net/k6FvQ/
link
hayksaakian
4621 days ago
seems like the more functional-style way of doing it
link
So the above could be written:
$(".down.arrow").click();
1. http://jsfiddle.net/k6FvQ/