175
rated 0 times
[
177]
[
2]
/ answers: 1 / hits: 33759
/ 13 Years ago, fri, october 21, 2011, 12:00:00
*<html>
<head>
<title>practise</title>
<script type=text/javascript>
function confirm() {
var r = confirm(Press the button);
if (r == true) {
alert(You are right);
} else {
alert(You are wrong);
}
}
</script>
</head>
<body>
<input type=button name=submit value=showtime onclick=confirm()/>
</div>
</body>
</html>*
I want to know what's the problem. It is not working but it is the same as in http://www.w3schools.com/js/js_popup.asp
More From » html