I managed to make it work through JQuery,
we need to check if the input field for the element is changed, here is the code if someone needs it:
// JavaScript Document
(function($) {
$(document).ready(function(){
alert ('hejsan test ny3');
if ( $( "#acf-field_5887df9fb89a9-input" ).length ) {
alert('#acf-field_5887df9fb89a9-input exists yeyyy!' );
}
$( "#acf-field_5887df9fb89a9-input" ).change(function(e) {
alert( "Handler for .change() called." + e.val );
});
});
})(jQuery);
regards