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 中为ASP.net网页上的文本框制作KEYUP事件?(不是 KEY PRESS 事件)
Say this is your textbox:
<input type='text' name='myTextbox' id='myTextbox'/>
Jquery for on keyup event
$(document).ready(function(){ $("#myTextbox").on('keyup',function(){ alert('Key up'); //Code }); });