Well, my question is quite simple.
I'm using RaphaelJS to make a country map with hover effects, but how do I get the state ID with hover?
Imagine you have this example path.
var path = paper.path('coordinates_here');
how do I identify this path with jQuery? example:
$('#myPathId').mouseenter(function(){
//do something here
});