Updating outputs when clicking a buttom

  1. Trigger a change event to trigger the subscribe method.
  receiveMessage: function(el, data) {
    if (data.hasOwnProperty('value')) {
      this.setValue(el, data.value);
      $(el).trigger('change');
    }
  }
OSUICode::updateCustomTextInputExample(5)