I am trying to hide text in a ASPX page that is tied to a textbox
<p>So there is a a table and a text box in one of the cells</p>

<pre><code>&lt;td&gt;
    &lt;asp:TextBox ID="tbSomeTextBox" Columns="5" runat="server"&gt; % 
&lt;/td&gt;
</code></pre>

<p>This textbox gets shown if a certain selection is made in a drop down.  The problem is that I would like the "%" character to also be hidden or shown with the textbox.</p>

<p>I have tried putting the whole textbox control inside a DIVand in my JQuery hiding the DIV at the same time I hid the textbox. </p>

<pre><code>&lt;td&gt;
    &lt;div id="divSomeDIV"&gt;&lt;asp:TextBox ID="tbSomeTextBox" Columns="5" runat="server"&gt; % &lt;/div
&lt;/td&gt;
</code></pre>

<p>But I get an error in my java script that id="divSomeDIV" doesn't exist in the current context.  </p>

<pre><code>$("#&lt;%=divSomeDiv.ClientID%&gt;").hide();
</code></pre>

<p>Wrapping that single character in a asp:Label seems like overkill.  </p>

<p>Any suggestions?</p>
