# Script works in Firefox but not in IE

**URL:** <https://forum.kirupa.com/t/script-works-in-firefox-but-not-in-ie/60503>\
**Category:** flash\
**Created:** [August 10, 2004, 11:36am UTC](https://forum.kirupa.com/t/script-works-in-firefox-but-not-in-ie/60503 "2004-08-10T11:36:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BakkerHenk](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@BakkerHenk](https://forum.kirupa.com/u/BakkerHenk)\
**Post date:** [August 10, 2004, 11:36am UTC](https://forum.kirupa.com/t/script-works-in-firefox-but-not-in-ie/60503/1 "2004-08-10T11:36:30Z")

</div>

Ok, I’ve made this chatbox script.  
It’s a movie with this script in the first frame

\*[font=Courier New][size=2]function LaadData() {  
var oudetekst;  
loadVariablesNum (“data.txt”, 0);  
if(detekst != oudetekst) {  
Bericht = detekst;  
}  
oudetekst = detekst;  
}  
setInterval(LaadData,5000);  
LaadData();

[/size][/font]\*[font=Courier New][size=2]It works fine in Mozilla Firefox 0.9  
But in Internet Explorer 6.0 it loads the variables only one time and then it stops.  
What can I do to tackle this problem?  
[/size][/font]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 11:38am UTC](https://forum.kirupa.com/t/script-works-in-firefox-but-not-in-ie/60503/2 "2004-08-10T11:38:58Z")

</div>

probably caching the txt file

loadVariablesNum (“data.txt?”+new Date().getTime(), 0);

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 11:41am UTC](https://forum.kirupa.com/t/script-works-in-firefox-but-not-in-ie/60503/3 "2004-08-10T11:41:52Z")

</div>

> [@senocular](#):
>
> probably caching the txt file
> 
> loadVariablesNum (“data.txt?”+new Date().getTime(), 0);

Yeah! You are my god!  
Come to think of it… I’ve had that problem before with a javascript… anyway… thnx!
