javascript - Fullcalendar add icon to event and not trigger eventClick -


I am trying to add custom "options" icon to the event. I want to click if I click on this icon So, small tooltip appears. But if I click on this icon, the eventClick gets triggered.

This is my html

  

I tried this JS

  & lt; Script & gt; $ ("Tecky"). ("Click", function (event) {event.stopPropagation (); warning ("test");}); & Lt; / Script & gt;  

event.stopPropagation (); I found it in the article but it will not help

use event.preventDefault () it should help you .


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -