Go4Expert

Go4Expert (http://www.go4expert.com/)
-   JavaScript and AJAX (http://www.go4expert.com/forums/javascript/)
-   -   Conformation message box in Javascript (http://www.go4expert.com/forums/conformation-message-box-javascript-t22091/)

unni krishnan.r 13May2010 14:18

Conformation message box in Javascript
 

Introduction



The javascript alert is a dialogue box that pops up and takes the faces away from current window and focus to read message

Why is it helpful



* if we closes a page without saving we often saw a message
*You can add message to user eg "NOT FOR MINORS"
*An error message
*Conformation message
Code:

<html>
<body>
<form>
<input type="button" onclick="alert('Your message eg:-FOR MINORS')" value="Click here">
</form>
</body>
</html>


shabbir 13May2010 16:14

Re: Conformation message box in Javascript
 
This cannot be an Article and I will suggest you to go through our Article Writing Guidelines


All times are GMT +5.5. The time now is 02:34.