I have a Jquery as follows:
$("#ParentDiv #ChildDiv").on("click context", ".item_class", function () {}
I need to be able to accomplish this same concept without use of Jquery due to issues with the Plugin working within FireFox when using Jquery.
The Parent Div is a Chatbox with a ChildDiv of the actual chat log scrolling for user. The item_class is of the individual chat items flowing through and is a sub span of one of those chat items.
Example: ParentDiv > ChildDiv > ChatItemDiv > SpanItem of item_class
The SpanItem of the item_class is what will be clicked and monitored.
I have seen some other Questions/Answers that say to run a loop to make up for what Jquery is doing by adding an event listener on every Span with the item_class, but I am not sure how that will work with new items constantly being added at the ChatItemDiv>SpanItem level.