I have this INPUT, it will clear everytime we click inside of it.
The problem: I want to clear only if value = [email protected]
<script type="text/javascript">
function clearThis(target) {
target.value= "";
}
</script>
<input type="text" name="email" value="[email protected]" size="30" onfocus="clearThis(this)">
Can someone help me to do this? I don t know how to compare, I already tried but no success.