jQuery object methods fails when using live/on
<p>I have a problem with selector by <code>#</code> inside <code>live()</code> or <code>on()</code> callback.</p>

<pre><code>$(document).on('click',".dfield_span_after", function(event) {
    var in_id = $(this).attr('data-in_id');
    var field = $('#'+in_id) // this line
    field.show();
}
</code></pre>

<p><code>field.show()</code> doesn't work at all, however selecting like this:</p>

<pre><code>var field = $('[id='+in_id+']')
</code></pre>

<p>works fine.</p>

<p>Is it a jQuery problem (several versions were used) or is it something I've done wrong?</p>

<p>UPDATE:
If it may help, this thing doesn't work in such situation. I have a page with some elements that interact like shown in code. This code works fine just before I click a link, that produces some elements by AJAX and displays it in popup. And elements in popup work bad, the rest of page is still fine.</p>

<p>Thanks</p>
