Is there a way to prevent the content in the span tag from being replaced, after the anchor tag binding takes places?
<ul data-bind:"foreach: items">
<li>
<a data-bind="text: name"><span data-bind="text: items().length()"></span></a>
</li>
</ul>
Is there a way to prevent the content in the span tag from being replaced, after the anchor tag binding takes places?
<ul data-bind:"foreach: items">
<li>
<a data-bind="text: name"><span data-bind="text: items().length()"></span></a>
</li>
</ul>
Here's a JSFiddle, I'd suggest doing this or placing the name in another
span