I have a problem with some Javascript in IE6 and I’m convinced it is because the script is caching (my procedure works once and not again unless I delete all cached files). Does anyone know how to prevent scripts from caching?
Thanks for the reply - I think you’re right and I was going down the wrong route here - very new to Javascript and it just seemed to me to be the logical reason.
Thanks again
-
MODX Staff
- 10,725 Posts
Are you registering this javascript using $modx->regClient... API functions? Or just including it in your content? And have you checked the source of the page to make sure it all looks right?
Sorry but I don’t know what you mean by registering the Javascript? The scripts are contained in separate files.
OK Problem solved - I had a call to the Base URL in the document I was calling from the Javascript and this appears to have cused the issue.
Just while I’m here - can you point me in the direction of any MODx API information?