<html>
<head>
<title> Sample </title>
<meta http-equiv=content-type content=text/html; charset=euc-kr>
<script>
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
</script>
</head>
<body>
<p>¸¶¿ì½º¸¦ Ŭ¸¯Çϸé ÅؽºÆ®°¡ »ç¶óÁý´Ï´Ù </p>
<form>
<input type="text" value="°Ë»ö¾î¸¦ ÀÔ·Â Çϼ¼¿ä" onFocus="clearText(this)">
</form>
</body>
</html>
|