Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I'm using episerver find with ajax functionality and pagination and I noticed that
FindApi()
is adding the onclick attribute for tracking but it is not exposing the function itself.Thus when i'm using the pagination on ajax call i loose the tracking onclick script since it is triggered on
window onload
only and the function is defined on theaddEvetListener
as anonymous inbindWindowEvents
.It would be nice to extract the function like
attachOnClickAttribute
(sorry the code in find.js comes minified already):And then expose the find api object:
In a way that on js after clicking on the pagination i could trigger something like this