To manually trigger any onChange event you do the following
Xrm.Page.getAttribute('myfieldname').fireOnChange();
or better yet, if you use a custom library to simplify your read
SetAttributeValue = function (attributeString, value) { var attribute = Xrm.Page.getAttribute(attributeString); if (attribute) { attribute.setValue(value); // manually fire the onChange event. attribute.fireOnChange(); } };