Javascript语言if语句判断之后弹出提示框假设学号输入框的id为xuehaovar xuehao = document.getElementById("xuehao").valueif(!xuehao.match(^d{7}$)){alert("2023-02-21JavaScript190