1

For example, I have an svg path <path ... d="m 100.03365,51.648383 28.346,0 0,-28.346 -28.346,0 0,28.346" inkscape:label="figure_01"></path> All I want is to select him using attribute selector, like $('path[inkscape:label*="figure"]') which is doesn't work (and as I understand, it shouldn't because ":" is reserved for something more awesome). Is there a way to bypass this without editing an svg itself?

1 Answer 1

1

Try escaping the : symbol?

$('path[inkscape\\:label*="figure"]')
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.