I am using html5 and javascript on Mac OSX Lion. My text editor is text mate, though it is out of date. So I tried saving it in text editor. Ran it and it still executed old code that I had deleted and saved. Does someone have an idea what the error might be? Thanks.
–Udate– Figured it out: Thanks to everyone for the speedy answer! Turns out I had to close the browser after emptying the cache for it to take affect. I did a few closing and opening tests, and essentially if I just refresh the page, it accomplishes the same as emptying the cache. What I was doing was just closing after I clicked my html and saw what it did, then reopen it. But yea, emptying the cache worked. Thanks again!
Your browser is cacheing the old files. Turn off the cache in your browser!