1 00:00:00,330 --> 00:00:04,560 We can use the J query attribute method to get attribute values. 2 00:00:04,770 --> 00:00:08,340 In this example we have a link set up in our document. 3 00:00:08,340 --> 00:00:15,830 If we click the button we can see that you are all of the link is output it into the alert 4 00:00:20,860 --> 00:00:22,410 in our hmo. 5 00:00:22,580 --> 00:00:29,210 We can see that our body type contains a button and the link. 6 00:00:29,450 --> 00:00:36,760 Keep in mind that with HDMI all the link is contained within the H R E F attribute of the eight element. 7 00:00:36,890 --> 00:00:45,380 In this case the link points to you excel dot com the tag also has an idea attribute with the name Y 8 00:00:45,410 --> 00:00:45,710 A 9 00:00:49,020 --> 00:00:57,380 in our script tags we can see that the click even is attached to the button once once that's triggered 10 00:00:57,440 --> 00:01:05,600 the alert appears containing the contents in the H RDF attribute of the element with I.D. y a.