Skip to content

Instantly share code, notes, and snippets.

@chrislaughlin
Created February 17, 2015 20:49
Show Gist options
  • Save chrislaughlin/2c85bfcd42e628a4de3f to your computer and use it in GitHub Desktop.
Save chrislaughlin/2c85bfcd42e628a4de3f to your computer and use it in GitHub Desktop.
How many people are in the gym
$.get( "http://www.puregym.com/gyms/belfast-adalaide-street/whats-happening", function( data ) {
var inTheGym = $("<div></div>" ).html(data).find('.people-number').html();
alert(inTheGym);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment