Skip to content

Instantly share code, notes, and snippets.

@vjo
Last active August 1, 2016 17:38
Show Gist options
  • Save vjo/9957123 to your computer and use it in GitHub Desktop.
Save vjo/9957123 to your computer and use it in GitHub Desktop.
Find your position in Meetup.com waiting list
$("#rsvp-list-waitlist h5")
.map(function(i, el) {return {"pos": i, "name": $(el).text()}})
.filter(function(i, el) {return el["name"].indexOf("Your name") >= 0;});
@vivascau
Copy link

Brilliant! But it should be "pos":i+1 as it's zero based

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment