I have a svg image rendered on the browser like below.
<img src="../path/to/img/logo.svg"/>
Inside that logo.svg, the structure is like below.
<svg id="logo" width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
    <g id="part-1">
        <path d="..." />
        <path d="..." />
    </g>
    <path d="..." fill="red" />
    <path d="..." fill="red" />
</svg>
I want to change part-1 text-color (fill) from jquery. How can I do that?
 
    