some image

Scribes, Tests & More...

KnockOutJS Select List

Web Development
11/4/2017 (PST)

The select list for HTML and KnockOutJS

var viewModel={
YesNo: [ { text:"Yes", val: "1"}
            ,{text: "No", val: "0" }
            ,{text: "-Choose-", val: ""}
],
selectedValue: ko.observable("No"); // set as default
};

 

blog comments powered by Disqus