Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chengyinliu
on Oct 17, 2013
|
parent
|
context
|
favorite
| on:
Unsubscribe from all LinkedIn email in one click
Just curious, is there any reason you used `$.each` instead of `$(".down.arrow").each`?
k3n
on Oct 17, 2013
|
next
[–]
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/
hayksaakian
on Oct 17, 2013
|
prev
[–]
seems like the more functional-style way of doing it
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: