knockout.js - options binding broken after applying css class -


knockout (2.2.1) options binding working ok broken silently after css class applied outer div.

<div class="class1 class2"> <select data-bind="options: months, ... 

if include 'class2', browser not complain drop down list empty..

[edit] knockout view model working ok, not asking it, provides months 01, 02, ... can imagine , drop down list shows them on click. 'class2', shows nothing, empty. our company outsourcing css stuff.

and 'class2',

$(".class2 select").chosen({width: '300px'}); 

[edit 2] turns out jquery plug-in 'chosen' hasn't been set , caused empty .

the attribute called data-bind not data-binding


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -