task exist in the listOfTasks it will display a checkbox.listOfTasks === task <td data-bind="text: listOfTasks"></td>
<!-- ko if: listOfTasks.contains(task) -->
<td><input id="taskCheckbox" type="checkbox" name="items[]" value="" /></td>
<!-- /ko -->Hi Puneet,
These examples works fine.
Thanks for your help.
Roger
--
You received this message because you are subscribed to a topic in the Google Groups "KnockoutJS" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/knockoutjs/hAAVozA70Yc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
knockoutjs+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.