Add jsconfirm.html test file.
This commit is contained in:
parent
cf5fd9456b
commit
4486573b2a
12
test/html/jsconfirm.html
Normal file
12
test/html/jsconfirm.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<head>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function prompter() {
|
||||||
|
var reply = confirm("js confirm", "")
|
||||||
|
alert("JS alert: " + reply + "!")
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<input type="button" onclick="prompter()" value="Show prompt">
|
||||||
|
</body>
|
Loading…
Reference in New Issue
Block a user