Simplest way to clear a container using raphaeljs javascript graphical library
javascript, raphael, svg
Solution
Actually it's just come to my notice that there's the much easier paper.clear(); It's not documented.
Problem
I have to clear and redraw a raphael javascript main container. I've tried with ``` var paper = Raphael(10, 50, 320, 200); paper.remove(); // Doesn't work paper.node.removeNode(); //this neither paper.removeNode(); //this neither ``` Any idea?