10
在拉斐尔的文档,我们初始化拉斐尔有:与jQuery选择初始化拉斐尔对象
var paper = Raphael(document.getElementById("notepad"), 320, 200);
我要选择我的课与jQuery和把它转化为拉斐尔,所以我的想法是:
var paper = Raphael($(".myClass"), 320, 200);
但是我在Raphael.js中获得TypeError: b is undefined
。有谁知道如何做到这一点?