Home › Forums › ACF PRO › Loading New Advanced Custom Fields Row With Ajax › Reply To: Loading New Advanced Custom Fields Row With Ajax
Hi John.
Thanks for your continued help! So my actual jQuery uses "this"
to get the relavent row number. I’ve ben using :last
as a temporary measure.
var button = $('.rowId');
button.click(function(e){
var lastRowId = $(this).html();
console.log('the last row ID ' + lastRowId);
I wanting to call the repeater row with this newRowId
inside my modal. I’ve been trying to get the newRowId
in to my PHP as the repeater row number. Any ideas?
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.