Inside the
jQuery document load event handler,I have attached the onkeydown event handler for the document where first the key code is determined and if it is
116 then false is returned to prevent the execution.
<body>
<script type = "text/javascript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type = "text/javascript">
$(function()
{
$(document).keydown(function (e) {
return (e.which || e.keyCode) != 116;
});
});
</script>
</body>