Question : AJAX Refresh in IE?

Hi!

How might the following code be altered to add a random number at the end of the xmlHttp.open URL?

A while back, simply changing the GET to POST fixed the IE cache prob... but now that won't work.

Help?

Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:

Open in New Window Select All

Answer : AJAX Refresh in IE?

you can do this by adding a random number parameter to the url like this:
1:
xmlHttp.open("POST","http://example.com/cgi-bin/blah/blah.php?rnd="+Math.random(),true);
Open in New Window Select All
Random Solutions  
 
programming4us programming4us