<area shape="poly" coords="63,10,64,38,89,37,91,10" class={"strokeColor:'0000ff',strokeWidth:5, fillColor:'ff0000',fillOpacity:0.6}" href="#" id="x1">
There is a imagemap in my html and I want to dynamicly add a new configuration "alwaysOn:true" to the class attribute.
$("#x1").click(function(){alert(8);})
I am newbea I can add click listener to it but cannot figure out how to add config option
How can I do that with jquery?