Here is how to alert and also display an attribute / attr of an element. In this case we are outputting the 'title' attribute but you can substitute for your attribute of choice:-
Example of how to output the title attr of image

Here is how to alert and also display an attribute / attr of an element. In this case we are outputting the 'title' attribute but you can substitute for your attribute of choice:-
The Alt 'attr' of the image (A beautiful landscape) is displayed below
The next evolution of team productivity and collaboration is here. Unlock the next generation of productivity with the infinite possibilities of ClickUp 3.0.
Be more productive with apps, tidy tabs, multi-account sign-in, unified search, flexible workspaces, and more...
Get 35% OFF with the Slick Media Wavebox Promo Code (click promo link bottom-right)
Loom is the fastest way to record quick videos of your screen. It's easy to use and perfect for hybrid workplaces. FREE & affordable paid plans.
BEE FREE and create gorgeous, responsive emails in minutes. BEE PRO and design emails & landing pages really fast. No Code required!
1Password is the easiest way to store and share logins, strong passwords, credit cards and more. With 1Password, you need to memorise one password!
Join in the Discussion