Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Conform Message In Java Script
WhatsApp
Delpin Susai Raj
Aug 23
2016
925
0
0
<html>
<head>
<script type=
"text/javascript"
>
function
disp_confirm() {
var
r = confirm(
"Press a button"
);
if
(r ==
true
) {
document.write(
"You pressed OK!"
);
}
else
{
document.write(
"You pressed Cancel!"
);
}
}
</script>
</head>
<body> <input type=
"button"
onclick=
"disp_confirm()"
value=
"Click"
/> </body>
</html>
conform
ok
cancel
java script
Up Next
Conform Message In Java Script