Trigger on change event of field with JavaScript – Dynamics CRM

In order to call a JavaScript method that was attached to the On Change event of a field, I had to investigate how an On Change event can be called without doing an update of the field that has the On Change method attached to it. Find below a way to do this: Xrm.Page.getAttribute("FieldName").fireOnChange();