OK, write this *exact* page and run it:
Does this work?
If not, view the source of the page. It may be a caching issue. If the source is not exactly what you wrote, refresh the page. If that doesn't work, try closing the browser and starting over.
Internet Explorer, if that is what you are using, has some really nasty caching problems, sometimes....
Hope this message helps,