I am new to JavaScript and I am having the following problem:
I would write the JS code in a separate file, including the file in the html code. JS code works fine. No problems. I would like to make some changes to the JS code, click update in the browser window, and sometimes a problem occurs. The changes I made to the JS code ruined everything. The code does not work as intended. So I'm starting to look for the problem, but the code is fine. So I clear my browser cache - nothing anyway. I undo changes in the JS code, everything works. I returned the new code - after a few clicks of "update" - suddenly it works. I have a problem with Safari 4, Firefox 2.0. I have not tried another browser.
My question is: do I need to disable browser caching using any JS technique, or just from a browser, or is there another problem? Thanks for your time and help!
source
share