bring svg element to front code example
Example: bring to front svg html
//In SVG, to get a higher larger Z index you should move the element down in the DOM tree
$('g.element').remove().appendTo('svg'); // with jquery
//In SVG, to get a higher larger Z index you should move the element down in the DOM tree
$('g.element').remove().appendTo('svg'); // with jquery