Support

Account

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?