$(document).bind('keyup', function (event){ if (event.keyCode == 113) { $('.adblocks').fadeOut('100'); } });