Why can't I select SVG Polygon using Attribute[ID] ?
I am trying some simple hover effects on some svg.
~ When i hover on a button the target SVG gets animated.
I am using Velocity,js for this project with jQuery.
<button data-targetX ="firstTra"></button>
But this does not,
var meinTarget = $(this).attr('data-targetX'); //button's data attr
However I am unable to use "data" attribute to target the same.
It just does not trigger anything.
Can some one help me...