After upgrading to version ACF Pro 5.7 I am now getting JavaScript error when using the code example above.
The error is:
acf.ajax.extend is not a function
I know there is now a new JavaScript API with version 5.7, but I have no idea of even where to start to figure out how to update the code to work.
Any help would be greatly appreciated and thank you in advance.