$.get() generated HTML are not recognized
<p>In <code>main.php</code>, I have:</p>

<pre><code>$('#GiveMeATextbox').click(function(){
  $.get('ReturnATextbox',{'jsample':'sample'}, function(d){$('#container').html(d); });
});

$('#IamReturnedTextbox').click(function(){
  alert("successful");
});
</code></pre>

<p>And my HTML</p>

<pre><code>&lt;div id="container"&gt;
    &lt;input type="button" id="GiveMeATextbox"&gt;&lt;/input&gt;
&lt;/div&gt;
</code></pre>

<p>and in ReturnATextbox.php</p>

<pre><code>echo "&lt;input type="text" id="IamReturnedTextbox"&gt;&lt;/input&gt;"
</code></pre>

<p>My problem is that</p>

<pre><code>$('#IamReturnedTextbox').click(function(){
  alert("successful");
});
</code></pre>

<p>won't work - it seems that the <code>Main.php</code> doesn't recognise the <code>$.get</code> generated HTML.</p>

<p>Any suggestions?</p>
