<input type="text" onblur="unblank(this)" onfocus="blank(this)" value="Email Address">
<script>
function blank(a) {
if(a.value==a.defaultValue)a.value="";
}
function unblank(a) {
if(a.value=="")a.value=a.defaultValue;
}
</script>
<script>
function blank(a) {
if(a.value==a.defaultValue)a.value="";
}
function unblank(a) {
if(a.value=="")a.value=a.defaultValue;
}
</script>
No comments:
Post a Comment