jsrsExecute(url,validateExistRunNumber,"isExistRunNumber", [obj.value]); //回调 function validateExistRunNumber(result){ if(result == "exist"){ showError('该设备标签已存在'); $('runNumber').value=""; } }