Capture field changes made using javascipt

I’m trully guessing on this. I don’t know javascript or the inner workings of the API’s, etc, etc. Just going with the way I think it all works.