Reputation: 993
I am creating a online exam web application in asp.net, i want to open a conformation message box or alert message box on button clicking when user submit the test or fill user information and other task?
Upvotes: 0
Views: 1125
Reputation: 1566
alert(message)
or confirm(message)
are useful javascript functions. Alert just shows the user a message, whereas confirm displays a confirmation box and allows you to get a boolean value back from the user.
Upvotes: 0
Reputation: 382
you can just plain javascript like this for an alert on the button: onclick="alert('hello')"
http://docs.jquery.com/UI/Dialog
Upvotes: 1
Reputation: 55489
you can use alert(message)
function through javascript to show any message
Upvotes: 0