Unable to hide the div using jquery
<p>I am able to find the div name using the below code:</p>

<pre><code>var id = $("textbox").closest("div").attr("id");
</code></pre>

<p>How can I hide the div based on above fetched id. I have tried with following code:</p>

<pre><code>$(id).hide();
</code></pre>

<p>It doesn't seems to work</p>
