How to clear a text box when clicked on it?
<p>I am using this JS to clear text box when user click on it, so this works fine and clears all the text box in the page, I want to clear only the search text box
 Search..
 How can I do that, Other text box should not be cleared and only this search text box should be cleared when I click on it.</p>

<pre><code>  &lt;script type="text/javascript"&gt;
        $(function () {

            $('input[type=text]').focus(function () {

                $(this).val('')
            });

        });
    &lt;/script&gt;
</code></pre>

<p>And another question.</p>

<p>I have a panel with few text box, how can i set focus on a particular text box</p>

<pre><code> &lt;asp:TextBox ID="txt_Name" runat="server" /&gt;
</code></pre>
