Response title
This is preview!
I needs to have unique values for css to grab.<script type="text/html" id="sectionTemplate"> <span data-bind="css: { selected: $data == viewModel.selectedSection() }, click: function() { viewModel.selectSection($data) }">
${i++}
<input id="radio${getCounter()}" class="ui-helper-hidden-accessible" type="radio" name="radio"><label class="ui-state-active ui-button ui-widget ui-state-default ui-button-text-only" for="radio${i}" aria-pressed="false" role="button" aria-disabled="false">
<span class="ui-button-text">${$data}</span>
</label>
</span>
</script>
© 2013 jQuery Foundation
Sponsored by and others.