I want to get the getBBox() for svg path in jquery. i tried like this
$(\"#\"+ path id)[0].getBBox() -> returns x=0,y=0,width=0,height=0
One thing to make sure is that your svg is added to the DOM and not detached. Also make sure that your SVG element