views:

204

answers:

2

hi,

I am creating a line in canvas tag using jquery drawing library. After the line drawn the

<div id="cool"><canvas id="canid"></canvas></div>

Then on click the below code executed.

$('#canid').remove();

What happens in IE after removing, dom with canvas end tag and also line is not removed.

Please help me out!.

+2  A: 

<canvas> isn't supported natively by Internet Explorer - http://en.wikipedia.org/wiki/Canvas_element

Try looking into VML tags and the aforementioned ExCanvas

Sam
A: 

I found the problem. jquery drawing library is producing the dot(1 x 1) pixel div dot, to form it has lines. I can able to found a lots of dive below the canvas tag. So canvas tag is dummy and pixel div(s) are creating the line. I just removed the pixel links with class i mentioned to remove the line. It work great.

itsoft3g