On click with an element that has been added to the page?
<p>I add a delete button dynamically to the page once the user uploads an image.</p>

<pre><code>$('.galleryImage .delete').bind('click', function() {

//do delete

}
</code></pre>

<p>The above does not work.</p>

<p>As I understand it, it's because the delete button is added to the page after creation.</p>

<p>I've tried</p>

<pre><code>$('body').on('click', '.galleryImage .delete', function() {
</code></pre>

<p>But this only works with jquery 1.7+ and I need to use 1.6.</p>

<p>Any ideas how I can get this to work?</p>
