Countries A Knockout example that populates an HTML5 DataList with countries: When a country is selected, the related states are shown: The JavaScript code makes use of Knockout.js data bindings: