How can you register a click event on a collection of elements only once?
$(".UFIReplyLink").on("click", function() {
alert('bound once')
});
Some options on a single object have been documented here and here but I'd like to do it on a collection
I've tried using .one with no luck
var collectLinks = function() {
$(".UFIReplyLink").one("click", function() {
console.log('one...') // this will log however many seconds have passed
});
}
setInterval(collectLinks, 1000)