> I guess things might get tricky evaluating in reverse more"might get tricky" is clearly the wrong wording here.
> complex cases and functions...
>> Ok, then why don't you apply it to the element *after* inserting it?Note how I wrote "element", not "document".