I have two SVG elements:
<circle r="260.2" fill="#1ABCb6" class="" id="svg_el_obj"></circle>
<circle r="260.2" fill="#1ABCb6" class="" id="svg_el_obj"></circle>
and i want add for them the same cx and cy atributes, so i use each with jquery but i have expected response for only first element, what is wrong?
svg_el_obj.each(function(){
$(this).attr({
cx: svg_plain_h/2,
cy: svg_plain_h/2
})
});
thx for help.