js tips

<input id="txtKeyword" class="typetextbox" runat="server" value="找书、作者、出版社?" onfocus="javascript:if(this.value=='找书、作者、出版社?') {this.value=''}"
 onblur="javascript:if(this.value==''){this.value='找书、作者、出版社?'}" />

你可能感兴趣的:(tips)