草庐IT

G_vmlCanvasManager

全部标签

javascript - 用于动态创建 Canvas 元素的 Excanvas

Excanvas“forenternetExplorer”对于预定义的Canvas元素工作正常。但是当涉及到在脚本中动态创建canvas元素时,就不行了...有什么想法吗?? 最佳答案 来自thedocumentation:IfyouhavecreatedyourcanvaselementdynamicallyitwillnothavethegetContextmethodaddedtotheelement.TogetitworkingyouneedtocallinitElementontheG_vmlCanvasManagerob