ok i got it now, the other guys forget to tell me about the +"?"+ between the name and the number
xhr.open("GET", lableText + ".xml"+"?"+(new Date()).getTime(), true);
>myajax.open("GET", "myresults.php", true);
Add to query something quite different each time, such as this.
myajax.open("GET", "myresults.php"+"?"+(new Date()).getTime(), true);
people keep telling me this but i dont understand! i dont have 1 file for every time of the day! i only have...
someone said i need to generate the xml on the fly with php. i know some php but im a little confused. i think hes saying
myajax.open("GET", "myresults.php", true); ????
what would myresults.php look like?
I've used a flash ExternalInterface.call for an onclick flash event to load some xml with XMLHttpRequest. the xml loads. but if i change the xml file on the server, the old xml file loads for the client, not the new one. i believe the problem is that the browsers are caching the results. i heard...
well i tried this first
window.onresize = function()
{
document.getelementById("containerA").style.width=document.getelementById("containerA").style.height/20+'px';
}
thats still not quite working, heres my html if it helps:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>SWFObject - step 1</title>
<meta...
this doesnt seem to be working. im trying to determine the width of a flash object based on the height of the window onresize
window.onresize = function()
{
document.getelementById("containerA").style.width=windowheight/2;
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.