We can use the J query attribute method to get attribute values.
In this example we have a link set up in our document.
If we click the button we can see that you are all of the link is output it into the alert
in our hmo.
We can see that our body type contains a button and the link.
Keep in mind that with HDMI all the link is contained within the H R E F attribute of the eight element.
In this case the link points to you excel dot com the tag also has an idea attribute with the name Y
A
in our script tags we can see that the click even is attached to the button once once that's triggered
the alert appears containing the contents in the H RDF attribute of the element with I.D. y a.