十六进制校验去掉关键字的间隔符

This commit is contained in:
duandongmei
2018-09-13 18:14:38 +08:00
parent e5b7661fbc
commit c49bf6985e
26 changed files with 59 additions and 103 deletions

View File

@@ -69,7 +69,8 @@
var isHexbin=$(this).val();
if(isHexbin == 1){ //十六进制
var keywords=$("input[name$='"+$(this).attr("name").replace("isHexbin","cfgKeywords")+"']").val();
if(keywords != ''){
keywords=keywords.replace("***and***","")
if(keywords != ''){
if(!(/^([0-9|a-f|A-F]*)$/.test(keywords))){
$(this).parents(".boxSolid").find(
"div[for='"