Adam Argyle : DO NOT $('#foo a'); DO $('#foo').find('a'); http://t.co/3m7kYVdBIY #js #jquery #javascript
May 11, 2013
Adam Argyle : DO NOT $('#foo a'); DO $('#foo').find('a');
Don't $('#foo a'); Do $('#foo').find('a'); Imagine you are asked to find every student in a highschool, then told to find the students inside classroom #123. Doesn't feel efficient does it? Imagine now you are asked to find room #123, then told to find every student.
/image%2F0004624%2F201210%2Fob_b01b21efdb72588090d70c1e23a4f101_nicolashachet-logo.png)

