I am trying to edit a UI code but then am blocked in the following point.
Whatever i do , am not able to pin any kind of event to the jquery object.
There are many objects with class name link. The following code is not having any kind of effect on the jquery object.
$(".link").on("click",function(x){alert("clicked")})
What could be a possible reason for this to happen.
I tested the code and could find out that $(“.link”) is returning a valid object.
Usually attaching events like
.on("click", function(d, i){ console.log('clicked'); })should work… but if thats not doing the job, there must be a css part for the edge, wherepointer-eventswill be set as none.. and removing this should do the trick