set an id at “Raphaeljs set”
问题 i want to set an id to Raphael set because i want to display it after an event click. this is my set: var divResult = document.getElementById('printResult'); var space2Draw = Raphael(divResult, 1600, 900); var st = space2Draw.set(); st.push( space2Draw.circle(newXCoordinates, newYCoordinates, 20).click((function (valore) { return function () { window.open("index-point.html?id=" + (valore) + "&type=" + type + "&description=" + description + "&name=" + name); } }(valore))).mouseover(function ()