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.
是否可以将“onkeypress”事件绑定到 jQuery Easy UI 数据网格编辑器类型“文本”?或“onkeyup”和“onkeydown”。
谢谢你!
请查看以下演示,
http://www.jeasyui.com/tutorial/datagrid/datagrid15.php
您应该在 datagrid 的事件上注册您的onLoadSuccess事件,如下所示:
onLoadSuccess
onLoadSuccess:function() { $(".onetextbox").keydown(function () { // ... }); }