I've the following search box:
@Html.TextBox("SearchString", "search...", new { @class = "SearchTxtBox" })
A text box with a default text "search...", I want to clear the text when the user enters the text box like we do in pure html:
<input type="text" value="search..." onfocus="if(this.value=='search...') this.value='';">
Any ideas how to do so in MVC 4?