[jQuery] dinamic content and document.ready()

[jQuery] dinamic content and document.ready()

Hi all!
The code something like this:
--
<script type="text/javascript">
$('a.lightbox_a').click(function(){
$("#bimages img").attr('src', $(this).attr('href'));
$("#bimages").modalContent(null, 'show', 'slow');
return false;
});
$(#limages).append('<a href="smg.jpg" class="lightbox_a"><img
src="lp.jpg"</a>');
</script>
<div id="limages">
</div>
--
Bur when I make dynamic content, the document.ready-s part is not
working. How can make easily apply document.ready part to the dynamic
content?
--
Ámon Tamás
http://linkfelho.amon.hu
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/