用javascript实现的激活输入框后隐藏初始内容

时间:2007-06-29    点击:146   
<div>   
<label for="email">Email</label>   
<input name="email" type="text" id="email" style="width:134px;" onfocus="if(this.value==’Input your email’)this.value=’’;"onblur="if(this.value==’’)this.value=’Input your email’;" value="Input your email" />   
<label for="pwd">Password</label>   
<input name="pwd" type="password" id="pwd" style="width:132px;" onfocus="if(this.value==’inputpass’)this.value=’’;"onblur="if(this.value==’’)this.value=’inputpass’;" value="inputpass" />   
</div> 
syntaxhighlighter 使用方法
javascript之dhDataGrid Ver2.0.0代码
javascript事件模型代码
如何快速的呈现我们的网页的技巧整理
IE autocomplete internet explorer's autocomplete
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved