this parametresinin kullanımı
<body> <script> function renk_ver(adi1) { adi1.style.backgroundColor = "yellow"; document.body.this.style.backgroundColor = "blue"; } function renk_beyaz(adi2){ adi2.style.backgroundColor = "white"; document.body.this.style.backgroundColor = "blue"; } </script> <form> <input type="text" onclick="renk_ver(this)" onmouseout="renk_beyaz(this);"> <input type="text" onclick="renk_ver(this)" onmouseout="renk_beyaz(this);"> </form> </body> </html>