(asp.net)鼠标放上去的时候文本框的提示消失,鼠标离开又重新显示
<asp:TextBox ID="KeyWord" runat="server" class="guide_wenzi" ValidationGroup="sjseach" value="请输入搜索的关键字" onblur="if(this.value=='')this.value='请输入搜索的关键字'" onfocus="if(this.value=='请输入搜索的关键字')this.value=''"></asp:TextBox> <asp:Button ID="btn_search" CssClass="guid_search" runat="server" Text="搜索找商家" OnClick="btn_search_Click"ValidationGroup="sjseach" />