验证插件。提交给定元素后,如何禁用在按键上显示错误消息自动验证。
public static void main(String[] args) {
int[] array = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
AtomicInteger ai = new AtomicInteger(1);
AtomicInteger index = new AtomicInteger(0);
Thread t1 = new Thread(new MyRunnable(index, ai, array, 1, 2), "T1");
Thread t2 = new Thread(new MyRunnable(index, ai, array, 2, 3), "T2");
Thread t3 = new Thread(new MyRunnable(index, ai, array, 3, 4), "T3");
Thread t4 = new Thread(new MyRunnable(index, ai, array, 4, 5), "T4");
Thread t5 = new Thread(new MyRunnable(index, ai, array, 5, 1), "T5");
t1.start();
t2.start();
t3.start();
t4.start();
t5.start();
}
答案 0 :(得分:0)
$(".myform").validate({
onkeyup: false,
focusCleanup: true,
})
当add onkeyup为false且焦点清除为true时。我们期待解决方案。