I am extracting results from a database and everything works fine except this line which gives me an error for every result.
Basically I have an <area> of the same coords as every <polygon>'s points of my <svg> and I'm trying to update the polygon's fill-opacity when I hover the area.
document.getElementById('TEST_area').onmouseenter=function(){ document.getElementById('TEST').style.fill-opacity = '0.5;'; };
I really don't know what happened here, because at some point it worked.
The coords are not a problem, they work, because whenever I click on my areas, I get the response I want. But not for onmouseenter and onmouseleave
Thank you.