Chodzi o coś takiego:

I druga sprawa, że jest standardowo jakiś napis i jak się kliknie to on znika, ale jak się nic nie wpisze i się np. kliknie gdzieś na tło to on znów się pojawia.
<html> <head> <script> function czysc(AInput, tresc) { if (AInput.value == tresc) { AInput.value = ''; } return true; } function wypelnij(AInput, tresc) { if (AInput.value == "") { AInput.value = tresc; } return true; } </script> </head> <body> <input type="text" name="cos" value="jakis tam tekst" onfocus="return czysc(this, 'jakis tam tekst');" onBlur="return wypelnij(this, 'jakis tam tekst');"> </body> </html>