Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김명주
/
kartrider
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김명주
2021-12-06 16:10:54 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5c641b803e58a56b3e389b35de71706f345b9cf7
5c641b80
1 parent
ba772c45
Block duplicate button clicks
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
views/search_home.ejs
views/test_home.ejs
views/search_home.ejs
View file @
5c641b8
...
...
@@ -20,7 +20,9 @@
</body>
<script>
$
(
"#OK"
).
click
(
function
()
{
$
(
"#OK"
).
click
(
function
()
{
var
saveBtn
=
document
.
querySelector
(
"#OK"
);
saveBtn
.
disabled
=
true
;
$
.
ajax
({
url
:
'/search'
,
async
:
true
,
...
...
views/test_home.ejs
View file @
5c641b8
...
...
@@ -27,6 +27,10 @@
var
a
=
document
.
getElementById
(
"div"
+
num
);
}
function
Post
(
index
)
{
var
saveBtn
=
document
.
querySelector
(
".Post1"
);
saveBtn
.
disabled
=
true
;
var
saveBtn2
=
document
.
querySelector
(
".Post2"
);
saveBtn2
.
disabled
=
true
;
vec
+=
"/"
+
index
;
Ajax
(
vec
);
}
...
...
@@ -89,8 +93,8 @@
<img
id=
"index"
src=
"metadata/image/seven.png"
></img>
<text
id=
"tex1"
>
Q7.
</text><br>
<text
id=
"tex2"
>
넥슨 캐쉬가 생겼다.
</text>
<button
id=
"btn"
onClick=
"Post(1); location.href='test/result'"
>
지금 당장 유료 카트를 구매한다.
</button>
<button
id=
"btn"
onClick=
"Post(2); location.href='test/result'"
>
지금 당장은 사용하지 않는다.
</button>
<button
class=
"Post1"
id=
"btn"
onClick=
"Post(1); location.href='test/result'"
>
지금 당장 유료 카트를 구매한다.
</button>
<button
class=
"Post2"
id=
"btn"
onClick=
"Post(2); location.href='test/result'"
>
지금 당장은 사용하지 않는다.
</button>
</div>
</body>
...
...
Please
register
or
login
to post a comment