Disable F5 on php page

function disable_f5(e)
{
  if ((e.which || e.keyCode) == 116)
  {
      e.preventDefault();
  }
}

$(document).ready(function(){
    $(document).bind("keydown", disable_f5);    
});


Share on Google+Share on FacebookTweet about this on TwitterEmail this to someone