when writing JavaScript in HTML mode I very often switch to Preview mode and test whether my JS works and how. And then suddenly Preview mode stops to respond to JS events. I can click on buttons, move the mouse etc. but nothing happens. If I close and reopen the document everything is fine again (without restarting HTMLPad). This is really confusing, because I started to think that there is something wrong with my script until the moment I opened my HTML document in IE and saw that JS works.
