0
On focus clear
How to use on focus to clear input field in JavaScript?
1 Antwort
+ 1
something like
<input type=''text'' onfocus=''ddd()'' id=''inp''>
<script>
function ddd(){
document.getElementById(''inp'').value = ""
}
</script>
How to use on focus to clear input field in JavaScript?