Code :
var link = [something.text];
and i want to add this var into a shapes href attr :
shapes.attr("href","javascript:alert(link);");
I want to show the text of the variable, link, in a alert window when we click on the shape.
Thank for yours answers bye