<input type="text" id="textid" value="Type in something..." onclick="clearit();"/>
Here is the Javascript:<script type="text/javascript">
function clearit(){
document.getElementById('textid').value = '';
}
</script>
function clearit(){
document.getElementById('textid').value = '';
}
</script>
1 comments:
Post a Comment