input觸發事件

我所知道而且有用的有四個事件,得到焦點onfocus;失去焦點onblur;輸入一次觸發一次oninput;輸入並失去焦點onchange.代碼以下。this <body> <input type="text" onchange="aa(this)" oninput="aa(this)" onblur="aa(this)" onfocus="aa(this)"> <script> $("in
相關文章
相關標籤/搜索