Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のいずれかの場合に、同じ JQuery 関数をトリガーするにはどうすればよいですか。
You can use the keycode for this. var keycheck = (e.keyCode ? e.keyCode : e.which); if(keycheck == 13) { // keycode for Enter key //Do something }