Capture field changes made using javascipt

Thanks for your help - got it working now.