KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I got this SVG image from Wikipedia and embedded it into a website using this code: <embed src="circle1.svg" type="image/svg+xml"/> If you run this, you can inspect the element and see the source code. All countries in the image are separate elements. If I click on a country, I want to alert the id of that country, since every country has an id of two letters in the SVG. Does anyone know a way to do this? Would it be easier if I place it into a element?
Tags (comma-separated)
Save Edits
Cancel