We would like to know how to set prompt message for input field with blur event.
<!DOCTYPE html>
<html>
<head>
</head><!-- w ww .j a v a 2 s .c o m-->
<body>
<input type="text" onfocus="value=''"
onblur="if(this.value=='')this.value='Enter your email address'"
name="emailAddress" value="Enter your email address">
</body>
</html>
The code above is rendered as follows: