hi.
bascially i am trying to dynamically load page content using jquery.
Something like this…
[CODE]
$(document).ready(function(){
$(“#mirrors”).click(function(){
$(‘#gallery-thumbs’).load(‘gallery_thumbs.html’);
$(‘#front-page-text’).load(‘mirrors-text.html’);
});
});
The issue is with loading the gallery_thumbs.html file as there are javascript events associated with the gallery thumbs.
For example the thumbs display ok but they should fade in when i hover over them.
Im guessing this is becuase the page is dynamically created after the DOM has loaded therefore JQuery does not have any reference of the ID/classes of the html which is inserted.
Can anyone sugguest what i can do to solve such an issue?
Is there anyway to refresh/update the DOM once the page has been created?
Thanks.