I have a many button ex:- button 1 2 3 4 5 6 7 8 9 10.
In Every button click create a different different canvas and also diff. size of canvas on same page.
if U click 1 then one canvas is created
if U click 2 then two canvas is created and so on.
but my problem is not to create every time new canvas here canvas is overwite. i have used
$('#canvas1').remove();
$('#canvas').detach();
so how can solved it.