Select Element With Double Dot In Id, Error: "#octo:cat" Is Not A Valid Selector
Given an svg with an existing id='kvg:StrokeNumbers_07425', ... I do the following : d3.select('#kvg
Solution 1:
Escape the :
as such
d3.select("#kvg\\:StrokeNumbers_07425").attr("style","fill:red;");
Post a Comment for "Select Element With Double Dot In Id, Error: "#octo:cat" Is Not A Valid Selector"