I am generating a dynamic html table. One of the columns in the table has a clickable image (a href
). For testing, I have also created a static table, with similar structure as the dynamic table, in the same div.
I have defined a selectors/a/click.js
event handler, which works fine for the links in the static table, but not in the dynamic table.
It seems that, since the table is dynamically generated, evently is not attaching any event handlers to it.
Could somebody suggest a workaround for this?
I found a workaround: use
live
instead ofbind
in the evently library:I'll try to push this upstream into evently.