On a page where an element (specifically, a TextBox) initially has two CSS classes assigned when it loads, something strange is happening. After the page renders and JavaScript runs, the class attribute of the input element mysteriously becomes empty.
I can confirm that the element did indeed have classes originally because even good old IE6 shows me the source code with the classes intact. However, upon inspecting the element, I see that the class attribute is now blank.
Is there a way, in any browser, to set up a watch that triggers a debugging break point whenever an element's attributes change?