¹æ¹®ÀÚÀÇ Á¤º¸¸¦ ±â¾ïÇÏ´Â Æû ¾ç½Ä |
|
|
 ȨÆäÀÌÁö |
20³â Àü |
<HTML>
<HEAD>
<TITLE>¹æ¹®ÀÚÀÇ Á¤º¸¸¦ ±â¾ïÇÏ´Â Æû ¾ç½Ä</TITLE>
<!-- <head>ÅÂ±× ¾È¿¡ ´ÙÀ½ ½ºÅ©¸³Æ®¸¦ »ðÀÔÇÑ´Ù. -->
<script language = "JavaScript">
<!--
function getCookie(name){
var cname = name + "=";
var dc = document.cookie;
if (dc.length > 0) {
begin = dc.indexOf(cname);
if (begin != -1) {
begin += cname.length;
end = dc.indexOf(";", begin);
if (end == -1) end = dc.length;
return unescape(dc.substring(begin, end));
}
}
return null;
}
function setCookie(name, value, expires) {
document.cookie = name + "=" + escape(value) + "; path=/" +((expires == null) ? "" : "; expires=" + expires.toGMTString());
}
function delCookie(name) {
document.cookie = name + "=; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
function getValue(element) {
var value = getCookie(element.name);
if (value != null) element.value = value;
}
function setValue(element) {
setCookie(element.name, element.value, exp);
}
var exp = new Date();
exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 31));
//-->
</script>
</HEAD>
<body bgcolor='#FFFFFF'>
<!-- <body>¿Í </body>»çÀÌ¿¡ ´ÙÀ½À» »ðÀÔÇÑ´Ù -->
<form action = "">
NAME : <input type = "text" name = "yourname" onFocus = "getValue(this)" onBlur = "setValue(this)">
ID : <input type = "text" name = "yourid" onFocus = "getValue(this)" onBlur = "setValue(this)">
Password : <input type = "text" name = "yourpassword" onFocus = "getValue(this)" onBlur = "setValue(this)">
</form>
</BODY>
</HTML>
|
|
̵̧ : 494 |
̵̧
¸ñ·Ï
|
|