<script type="text/javascript">
jQuery(function(){
var upass = jQuery("#upass");
jQuery("#fpass").focus(function(){
jQuery(this).css("display", "none");
upass.css("display", "block");
upass.focus();
});
});
</script>
<input type="text" class="iptForm" id="fpass" value="비밀번호를 입력해주세요"/>
<input type="password" class="iptForm" id="upass"/>
<?//input=text 클릭시 텍스트제거?>
<input type="text" class="iptForm" value="아이디" onclick="this.value=''" onkeyup="value_chk(this.value)" />
<?//textarea 클릭시 특정문자 텍스트제거?>
<textarea name="" id="" style="width:97%;height:170px;" onclick="if(this.value=='Message'){this.value=''}">Message</textarea>
<?//textarea 클릭시 텍스트제거?>
<textarea name="" id="" style="width:97%;height:170px;" onclick="this.value=''">Message</textarea>
<li><input type="text" style="color:#CCC;" onclick="if(this.value=='보내는사람'){this.value=''; this.style.color='#000';}" onfocus="if(this.value=='보내는사람'){this.value=''; this.style.color='#000';}" value="보내는사람"/></li>
<li><input type="text" style="color:#CCC;" onclick="if(this.value=='이메일주소'){this.value=''; this.style.color='#000';}" onfocus="if(this.value=='이메일주소'){this.value=''; this.style.color='#000';}" value="이메일주소"/></li>
<li><input type="text" style="color:#CCC;" onclick="if(this.value=='전화번호'){this.value=''; this.style.color='#000';}" onfocus="if(this.value=='전화번호'){this.value=''; this.style.color='#000';}" value="전화번호"/></li>
<li>
<textarea style="width:310px;color:#CCC;" onclick="if(this.value=='문의내용'){this.value=''; this.style.color='#000';}" onfocus="if(this.value=='문의내용'){this.value=''; this.style.color='#000';}" >문의내용</textarea>