As an extension of the post https://css-tricks.com/forums/topic/backgroundcolor-not-recognized/ I have dynamic menus, where elements (svg) are created on the fly, using js. So they are the mouseover and mouseout event handlers, which mainly act changing the background colour.
In this situation, neither the e.style (addressed to inline styles) or getComputedStyle (CSS styles) are usable. How can I read/set backgrounds previously set by js (rather than inline or css)?
thanks