Finding out which element exactly was clicked.
I am working on a little project with fullcalendar but while writing some callback functions stumbled upon an issue:
Fullcalendar generates html that looks like this: <a><span></span><span></span><span></span></a>.
Now there is an eventClick callback that is fired when clicking on that <a> element. However, in that callback I would like to know which <span> element was clicked.
Does anybody know how I would do this? Thanks in advance!