I have view where I am adding dynamic content. I have added link on them (dynamic link). When click on it, not displaying alert.
I tried:
$("a.reset_ebook").on("click", function() { alert("test") })
And view is:
<a ebook_id="18" class="reset_ebook" href="javascript:void(0)">Close</a>
How to alert with dynamic added link?