Is there a way to have a declaration such as the following persist to all matching elements that are later added to the DOM?
$("a.my-class").replaceWith("<span>Replaced</span>");
Something along the lines of...
$("a.my-class").persist().replaceWith("<span>Replaced</span>");
(Persist is a fictitious method, that I hope conveys what I would like to accomplish.)