fixed to call the trigger function observing the input event for IE9+/FF/Chrome/Opera/Safari and the propertychange for IE8