1 00:00:00,600 --> 00:00:08,390 We can use a J query attribute method to set or change attribute values of an HMO element in this example. 2 00:00:08,390 --> 00:00:13,760 We have a text link with an H R Yes attribute set to excel dot com 3 00:00:17,860 --> 00:00:24,010 when we hover our mouse over you excel dot com we can see the corresponding link down below 4 00:00:28,540 --> 00:00:36,950 if we click the change link you are L. button the H R U F attribute resets to a new link we can see 5 00:00:36,950 --> 00:00:44,780 the new link again by hovering our mouse over you excel dot com in looking below the new H R you have 6 00:00:44,780 --> 00:00:49,730 attribute is so set to you excel dot com slash about US DOT BHP 7 00:00:54,520 --> 00:01:01,900 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 8 00:01:01,930 --> 00:01:08,750 element and also the link the H R yet attribute 9 00:01:13,570 --> 00:01:25,530 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 10 00:01:25,530 --> 00:01:27,500 attached a click event on the button 11 00:01:30,560 --> 00:01:40,340 once the button is clicked the element with I.D. Y A resets its H R Yes attribute to you excel dot com 12 00:01:40,640 --> 00:01:42,920 slash about US DOT HP.