Support

Account

Home Forums Backend Issues (wp-admin) Change value of a post-object field with custom jQuery Reply To: Change value of a post-object field with custom jQuery

  • I find a solution !

    Here it is:

      jQuery('.liste_projets_nouveaux a').on( "click", function() {
        jQuery('#acf-field_61ab8de602ba7-input').val(jQuery( this ).attr("rel"));
        jQuery('#acf-field_61ab8de602ba7').val(jQuery( this ).attr("rel"));
      });