$(".overlay").lightbox();
$('.overlay').live('click', function(e){
e.preventDefault();
var url = base_url + 'ajax/getcolorboxhotel';
var data = $(this).next('span').text();
$('.hiddencontent').load(url, {id:data});
});
Please help! The code above works with links in the page while new links loaded by the .load() function do not do a lightbox anymore!