Preferred way of modifying elements that have yet to be created (besides events)
In my opinion, the DOM Level 3 events DOMNodeInsertedhelp (which fires only for nodes) and DOMSubtreeModifiedhelp (which fires for virtually any modification, like attribute changes) are your best shot to accomplish that task. Of course, the big downside of those events is, that the Internet Explorers of this world don’t support them (…well, IE9 does). … Read more