When entering values for eVars etc in to the DTM, there are a limited number of dynamic values that can be entered.
EG:
%this.innerHTML%
%this.getAttribute()%
Could be useful to have a "Custom Script" option as in the "Data Element" section is a function that returns a string, and has access to the "this" element the event has been triggered on