enable and disable textfield in jquery
This question already has an answer here:
Try this:
jQuery(document).ready(function(){
jQuery("#cca label.control input").on('change', function (e) {
alert('I am pretty sure the text box changed');
e.preventDefault();
});
});
If that doesn't work then please respond with what your console returns when you type jQuery("#cca label.control input").length
上一篇: 完全禁用输入栏
下一篇: 启用和禁用jQuery中的文本字段