Return to Snippet

Revision: 51934
at October 7, 2011 20:58 by Tyde


Initial Code
function LoadmainContent () {
  $('div#maincontent').hide('clip',100,function() {
    $(this).load('some_page.tmp' + '?rnd='+ String((new Date()).getTime()).replace(/\D/gi, ''),function() {
      $(this).show('scale',800);
    }
  });
}

Initial URL


Initial Description
From time to time I need a Ajax function to not cashe the template it load. I only have notest this problem in IE.

Initial Title
Ajax non load cash

Initial Tags
ajax, load

Initial Language
jQuery