同步操作将从 JoyPoint/StudyStudio 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
// validator.js// An example of input validation using the change and submit// events// The event handler function for the name text boxfunction chkName() {var myName = document.getElementById("custName");// Test the format of the input name// Allow the spaces after the commas to be optional// Allow the period after the initial to be optionalvar pos = myName.value.search(/^[A-Z][a-z]+, ?[A-Z][a-z]+, ?[A-Z]\.?$/);if (pos != 0) {alert("The name you entered (" + myName.value +") is not in the correct form. \n" +"The correct form is: " +"last-name, first-name, middle-initial \n" +"Please go back and fix your name");return false;} elsereturn true;}// The event handler function for the phone number text boxfunction chkPhone() {var myPhone = document.getElementById("phone");// Test the format of the input phone numbervar pos = myPhone.value.search(/^\d{3}-\d{3}-\d{4}$/);if (pos != 0) {alert("The phone number you entered (" + myPhone.value +") is not in the correct form. \n" +"The correct form is: ddd-ddd-dddd \n" +"Please go back and fix your phone number");return false;} elsereturn true;}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。