or
<
html
>
<
head
>
<
script
type
=
"text/javascript"
>
<!--
function confirmation() {
var answer = confirm("dialog test!")
}
//-->
</
script
>
</
head
>
<
body
>
<
form
>
<
input
type
=
"button"
onclick
=
"confirmation()"
value
=
"Test the button"
>
</
form
>
</
body
>
</
html
>