JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://cloud.github.com/downloads/SteveSanderson/knockout/knockout-2.1.0.js"></script>
<input data-bind="value: t1" id="text1" />

<button data-bind="click: setT1"> Set T1 To Current Time </button>

CSS

body {
    padding: 10px;
}

JavaScript

// 3rd party code start
$("#text1").change(function() {
    alert('jquery change event fired: ' + $(this).val());
});
// 3rd party code stop

var vm = {
    t1: ko.observable('value1'),
    setT1: function() { vm.t1(+new Date); }
};

vm.t1.subscribe(function(newVal) {    
    if( newVal != $("#text1").val() ) {
        alert('new value is *' + newVal + '*, but text1 value is *' + $("#text1").val() + '*');
        setTimeout( function(){$("#text1").change()}, 0 );
    }
});

ko.applyBindings(vm);


setTimeout(function() {
    vm.t1(+new Date);
}, 1000);