0
나는 html multiselect 구현을 어떻게 자바 스크립트에서 녹아웃 데이터 바인딩을 구현합니까?녹아웃 js에 multiselect 바인딩
<select class='multiselect' data-bind="
options: vm.types,
value: vm.selectedTypeId,
optionsText:'type',
optionsValue: 'typeId'">
</select>"
데이터 바인딩을 자바 스크립트에서 사용 하시겠습니까? 만약 당신이 내게 intersted 무엇 attst() 함수를 사용하여 그렇게 할 수있을 것 같아요 –
@ G_S, 네, 자바 스크립트에서 데이터 바인딩을 사용하고 싶지만 계산 Observables를 사용하는 것 같아요 – user2644776
당신은 이것을 의미합니까 : http : // knockoutjs. com/documentation/selectedOptions-binding.html –