I\'m using SVG together with jQuery in my Mvc Application. I draw a series of rectangles on my page and what I would like to do is attach a click or mouseover event for each
Try this:
$('rect#Y6').click( function(){ alert('hello'); });