摘要:
分享一个js自定义的验证码window.onload = function () { var code; $('.changePassword').click(function () { if ($('#CheckText').val().toUpperCase()!== code) { alert("验证码输入错误!"); return; } $('#ForgetPassword').submit(); }); if ($('#errorInfo').val() !== null && $(& 阅读全文