例:textbox里面,要求做两个textbox名字为(A,B),其中两个的数字大小范围是-10~10之间,之后其中A的值必须大于B所填的数字,如果输入错误,则提示出弹出框,并清空数据。

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>textbox&numberbox</title>
<link rel="stylesheet" href="../EasyUI/themes/default/easyui.css">
<link rel="stylesheet" href="../EasyUI/themes/icon.css">
<script src="../EasyUI/jquery.min.js"></script>
<script src="../EasyUI/jquery.easyui.min.js"></script>
</head>
<body>
<!--textbox的校验-->
<input type="text" ).textbox('clear')
}
}
}
});
});
</script>
</body>
</html>

相关文章:

  • 2021-07-11
  • 2021-05-18
  • 2022-12-23
  • 2021-09-23
  • 2021-11-18
  • 2022-12-23
  • 2022-01-17
猜你喜欢
  • 2022-12-23
  • 2021-08-19
  • 2021-09-07
  • 2021-10-28
  • 2021-10-08
  • 2021-10-09
  • 2022-12-23
相关资源
相似解决方案