This is my html :
<select class="form-control input-sm" name="FloorId" data-bind="
options: $root.floors(),
optionsText: 'floorNumber',
optionsValue: 'id',
value : floorId" required>
</select>
<button type="submit">save</button>
floorId is an observable variable. When the user changes the option floorId also is being updated. But i want this to heppen only then when the user clicks to the save button.