Toggle navigation
Toggle navigation
This project
Loading...
Sign in
성준영
/
webservice-practices
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
성준영
2017-04-27 10:53:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d25a3844e03ea8f493e1dd40150c2b1be589786b
d25a3844
1 parent
08c5bea5
quiz4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
quiz_4/2012104095.html
quiz_4/2012104095.html
0 → 100644
View file @
d25a384
<!DOCTYPE html>
<html
lang=
"ko"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
<button
onclick=
"checkButtonClick()"
>
CHECK
</button>
<script>
function
checkButtonClick
()
{
var
filename
=
prompt
(
'파일 명을 입력하세요'
);
if
(
/
\.
html/g
.
test
(
filename
)){
document
.
write
(
filename
);
}
else
{
alert
(
'HTML 파일명을 입력하시오'
)
}
}
</script>
</body>
</html>
\ No newline at end of file
Please
register
or
login
to post a comment