Take the tour ×  I'm having a question about knockout binding to
a select list. the problem is if we attached a click binding to
a control, the event will be executed whenever the control is
clicked. but why this select change event is firing while the
control is loading to the DOM. I'm using knockout for last three
week. this is the fiddle for that.
http://jsfiddle.net/aroor/dUvRx/4/   <select data-bind='options
:list, optionsText: "name", value:selectedItem , event : {
change : onSelectChange }'></select>    var model = function(){
var self = this;    self.name = ko.observable();   self.key =
ko.observable();    self.visible = ko.observable();
self.selectedItem = ko.observable();   self.onSelectChange =
function(data,event){     var currentSelection =
self.selectedItem();     if(currentSelection.visible  )       //
display the content according to the selection
ko.applyBindings(new model());  please help me to sort this
problem.  I don't want to use the optionsCaption to select the
default item. beca