Click to See Complete Forum and Search --> : Reload contents of a Javascript file


varadha
09-21-2004, 03:52 AM
Hi,
I have array definition in a js file and i am including the js file in the ASP page. ( <script LANGUAGE="Javascript" src="info1.js"></script> )
upon submitting the asp page i am rewriting the js file.

The problem is that when i asp page reloads it is not having the new array contents instead it is having the array contents that was there on the previous load. I think the problem is due to caching. Can you please give me a solution for this.

Please get back if the query is not clear.

Regards,
Varadha

Fang
09-21-2004, 04:31 AM
Include the js array inline.

varadha
09-21-2004, 06:09 AM
how can i do this.