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.
控制松散焦点后有没有办法修剪 Kendo UI 网络输入字段?还是在视图模型提交到服务器之前?我想防止在字符串值的开头和结尾出现空格。
我使用 JQuery 来做到这一点。像这样 :$("#myForm input").val("");
$("#myForm input").val("");