Support

Account

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.