首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

登录惯用的js

2012-07-03 
登录常用的jsinput typetext maxlength50 autocompleteoffvalue请输入用户名onfocusif(thi

登录常用的js

        <input type="text" maxlength="50" autocomplete="off"             value="请输入用户名"              onfocus="if(this.value=='请输入用户名') this.value='';            this.className='inputstylefocus';return true;"            onblur="if(this.value=='') this.value='请输入用户名';            this.className='inputstyle';return true;">                    <input type="password" maxlength="20"             value="+_-_-_+"              onfocus="if(this.value=='+_-_-_+') this.value='';            this.className='inputstylefocus';return true;"            onblur="if(this.value=='') this.value='+_-_-_+';            this.className='inputstyle';return true;">

热点排行