Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
24cca994ccf1475aae1153032c0395bc5e9ad568
1 parent
70d9e83a
注册按回车提交
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
web-static/js/passport/reg.js
web-static/js/passport/reg.js
View file @
24cca99
...
...
@@ -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'
)
{
...
...
Please
register
or
login
to post a comment