...
|
...
|
@@ -429,6 +429,15 @@ exports.init = function(page) { |
|
|
}
|
|
|
});
|
|
|
|
|
|
// 按回车键提交
|
|
|
$registerPage.on('keydown', function(e) {
|
|
|
var key = e.which;
|
|
|
|
|
|
if (key === 13) {
|
|
|
$registerBtn.click();
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$registerPage.find('.va').keyup(function() {
|
|
|
|
|
|
var j,
|
...
|
...
|
@@ -533,7 +542,6 @@ exports.init = function(page) { |
|
|
|
|
|
//ajax表单提交
|
|
|
$registerBtn.click(function() {
|
|
|
|
|
|
var url;
|
|
|
|
|
|
if (page === 'reg') {
|
...
|
...
|
|