Skip to content

Instantly share code, notes, and snippets.

@trigun0x2
Created September 23, 2014 18:12
Show Gist options
  • Save trigun0x2/909cff42ed2c7badbe7f to your computer and use it in GitHub Desktop.
Save trigun0x2/909cff42ed2c7badbe7f to your computer and use it in GitHub Desktop.
$('span').filter(function(){
var color = $('span').last().css('background-color');
return($(this).css('background-color') != color );
}).last().click();
$('span').last().click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment