Skip to content

Instantly share code, notes, and snippets.

@jordanmessina
Created November 4, 2013 17:49
Show Gist options
  • Save jordanmessina/7306498 to your computer and use it in GitHub Desktop.
Save jordanmessina/7306498 to your computer and use it in GitHub Desktop.
ActAway.com Javascript Cheat
var answer = $('#act').attr('data-answer');
for(var i=0; i<answer.length; i++){
$('.letters>li>a').each(function(index, val){
if($(val).text() == answer[i]){
$(val).click();
return false;
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment