knockoutjs set select default selected value
How to set the initial default value of dropdown in knockout js
<select data-bind="options: AvailableValues, value: Value"></select>
var vm = { AvailableValues: ["jQuery", "Knockout JS", "lodash", "Javascript"], Value: ko.observable("Knockout JS") }; ko.applyBindings(vm);
knockoutjs set select default selected value
Reviewed by Bhaumik Patel
on
7:32 PM
Rating: