I am Binding ' style ' to div which is in
body
<div data-bind="style: { backgroundColor:
selectedBackground }" style="height: 20px;"></div>
this works fine ,
But when I am define that div in
template
<div class="container_1" data-bind="style: {
backgroundColor: selectedBackground }" >
....
...
..
</div>
it doesnt bind the div according to
selectedBackground property...
Please Help Me Sir ...