jQuery IE7 load URL error Fix

A propper fix can be found here: http://zacster.blogspot.com/2008/10/jquery-ie7-load-url-problem.html

I have use Tim Boormans Fix & Fuction.

function unique_requestid() {
var timestamp = Number(new Date()).toString();
var random = Math.random() * (Math.random() * 100000 * Math.random() );
var unique = new String();
unique = timestamp + random;
return unique;
}
$('#Your_Element_ID').load("/ajaxpage.php?a=get_something&random=" + unique_requestid());

About Krish Manohar

Web Developer
This entry was posted in Fix, Jquery and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>