Is it possible to trigger any key by javascript or jQuery ? Like when click on a button javascript will trigger F1 button or Ctrl+s button like this
<script>
function clickBtn(){
--Click the F1 button or Ctrl+s button--
}
</script>
<body>
<input type="button" onClick="clickBtn()" value="Click To Press F1 Button">
</body>