We can use a J query attribute method to set or change attribute values of an HMO element in this example.
We have a text link with an H R Yes attribute set to excel dot com
when we hover our mouse over you excel dot com we can see the corresponding link down below
if we click the change link you are L. button the H R U F attribute resets to a new link we can see
the new link again by hovering our mouse over you excel dot com in looking below the new H R you have
attribute is so set to you excel dot com slash about US DOT BHP
let's take a look at our each email code to see how this was done in our body tags we can see the button
element and also the link the H R yet attribute
in the 8 element is set to you excel dot com the I.D. for the element is set to Y A in our script we've
attached a click event on the button
once the button is clicked the element with I.D. Y A resets its H R Yes attribute to you excel dot com
slash about US DOT HP.