<html> <head> <script type="text/javascript"> function doit_onkeypress(event){ if (event.keyCode == 13 || event.which == 13){ alert("You are clicked"); } } </script> </head> <body> Username: <input type="text" id="txt_username" onkeypress="javascript:doit_onkeypress(event);" /> </body> </html>
<html> <head> <script type="text/javascript"> document.getElementById("txt_username").onkeypress = function(event){ if (event.keyCode == 13 || event.which == 13){ alert("You are clicked"); } }; </script> </head> <body> Username: <input type="text" id="txt_username" /> </body> </html>
Do you want to delete a "" lesson. Warning! This delete will remove all it's sub lessons and contents.
Do you want to delete a "" sub lesson. Warning! This delete will remove all it's contents.
Do you want to delete content.
Do you want to remove selected book from favorite books.
Do you want to delete selected author from your authors list.