keyup(handler) method and then matches the keyCode value against number 13 to check if the Enter key is pressed. JS; HTML. JS. 1. 2.
確定! 回上一頁