jquery on binding with dynamic div
<p>I have an issue with jquery. Say i have 2 divs in jquery,</p>

<pre><code>&lt;div id='1'&gt;               //static div
&lt;/div&gt;

&lt;div id='2'&gt;               //dynamic div
&lt;/div&gt;
</code></pre>

<p>The static div is always present in the document, but dynamic div toggle when we click over static div. Now what i want is to place an event on dynamic div something like :</p>

<pre><code>$(document).on("show", "#2", {}, function() {
 alert("div 2 present");
});
</code></pre>

<p>so that i can do something when dynamic div is present in the document. How can i do this ?</p>
