Home › Forums › Feature Requests › JS hooks – a reference to DOM node of the rendered item in the callback function › Reply To: JS hooks – a reference to DOM node of the rendered item in the callback function
I am currently working on a project that has required me to dig deeply into the JS side of ACF. what I’m doing is extending the
acf.ajax object/class. Some things can also be done by extending the
acf.field object/class. You can see examples of this by looking at the JS files in ACF. You can look that what I’ve been doing here https://github.com/Hube2/blunt-parametric-search/blob/master/admin/js/admin.js. It’s still pretty rough and I’m just putting everything in one place. I’m extending the acf.ajax because I make several AJAX requests that dynamically load values field values.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!