I can try to outline how I would do it with a custom script, though I have to say, custom attributes are not recommended, you should either use the "data-" prefix or introduce a separate namespace with a linked DTD.So I assume you have a rule that get's triggered when this button is clicked.In the "...