I’ve got a div (#slide2) where I would like to load a portion of an other .php file (content in div.side). Here’s what I got so far :
function uniqueId() { return new Date().getTime() };
$(function() {
$("#slide2").load("content01.php?uid= .slide"+uniqueId(), function() {
applyRestOfJqueryAfterAjaxLoads();
)};
});
function applyRestOfJqueryAfterAjaxLoads() {
$('#slides').superslides({
slide_easing: 'easeInOutCubic',
slide_speed: 800,
pagination: true,
hashchange: true,
scrollabe: true
});
});
Thanks for the help!
So I had to append the selected content (#slide2) after uniqueId
UniqueId is used so that IE and other gets the newest content, and not the one that is cached.
Though it did worked fine, does is seems to be a mistake?