syntax:keypress ( )return type:voidcontent:ใช้กำหนดให้เกิดเหตุการณ์ keypress กับ ทุก element ภายใน setexample:$("input[type=text]").keypress ( );