Thanks, Tony!

-----Original Message-----
From: Tony Bentley [mailto:[email protected]] 
Sent: Thursday, September 17, 2009 4:45 PM
To: cf-talk
Subject: Re: How to prevent IE from caching content added via ajax?


If you are loading via url:

function ts(){
        var tr = '';
        var curDateTime = new Date()
        tr += curDateTime.getHours();
        tr += curDateTime.getMinutes();
        tr += curDateTime.getSeconds();
        return tr;
}

$("#myloaddiv").load(/ajaxDIV/index.cfm?id="+id+"&ts="+ts();

Otherwise, for an http post you just need to pass it as a parameter. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326411
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to