Skip to content

Instantly share code, notes, and snippets.

/Result
Created Apr 11, 2014

Embed
What would you like to do?
I need to write a function that looks at a chosen selector (in this case $('.foo') and only show the first one of each time
<div class="foo bar"></div>
<div class="foo raa"></div>
<div class="foo bar"></div>
<div class="foo bar"></div>
<div class="foo bar"></div>
<div class="foo raa"></div>
<div class="foo raa"></div>
<div class="foo raa"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.