simplified and clean way to substitute variable values in JQuery id selector
<p>In my application I have a mark up like these</p>

<pre><code>    &lt;div id="divLeft" style = " width: 300px; border: 1px solid red; float: left" onclick="DoThis('textId')"&gt; 
          &lt;input type="text" id="textId" /&gt;
    &lt;/div&gt;
    &lt;div id="divRight" style = " width: 600px; border: 1px solid red; float: right" onclcick="DoThat()"&gt;    
    &lt;/div&gt;
</code></pre>

<p>and in the java script event handler code I have to retrieve textId element for which i use the id selector as </p>

<pre><code>function DoThis(id){

//some code goes here
$("#"+id).show();
//some code goes here

}
</code></pre>

<p>and there are hundreds of places where am doing string concatenation like "#"+somID, this looks bad to me. I wanted to know is there some way or jquery selector API  like <code>$.id(someID)</code>  or something which would avoid this string concatenation?</p>

<p>Regards,
Jeez</p>
