Functions / del
del
del( )

del( )
return: nothing
Allows to delete objects.
Code
<script type="text/javascript">
	function start_1(idCanvas)
	{
		jc('#myCircle_1').del();
	}

	function stop_1(idCanvas)
	{
		jc.clear(idCanvas);
		onload_1('canvas_1');
	}
	
	function onload_1(idCanvas)
	{
		jc.start(idCanvas,true);
		jc.circle(140,70,40,"rgb(0, 0, 255)",1)
			.id('myCircle_1');
	}
</script>
<canvas id="canvas_1" width="250px" height="265px"></canvas>
View