我正在使用ajax检查我的数据库中的电子邮件ID。我正在使用keyUp事件来实时检查它。它的工作正常,但我的键盘卡住了。请建议 $(“#email”)。on(“keyup”,function(){ }); $("#email").on("keyup",function(){
// now check if email id is changed
var e= $
我的例子: $(document).on('keyup', '[contenteditable=true]', function (e) {
let _this = $(this), text = _this.text();
if (text.length === 1) {
let span = $('<span>').text(t