Hi Denis.
Thanks for the info. Your ideas almost worked. I'm not getting the binding errors and I'm able to click the "Go to Details" li in the popup section and the app navigates to the correct alarm details page. Here's my updated code snippet.
<ul id="alarmslist" data-bind="foreach: days" data-role="listview">
<li data-role="list-divider"><span data-bind="text: date"></span></li>
<!-- ko foreach: alarms1 -->
<li>
<a data-bind="attr: { href: '#popupBasic' + alarmID(), 'data-rel': 'popup' }"><span data-bind="text: alarmID"></span></a>
<section data-bind="attr: { id: 'popupBasic' + alarmID(), 'data-role': 'popup' }" data-corners="true" data-history="false" data-overlay-theme="a">
<ul data-role="listview" data-inset="true">
<li data-role="divider" data-theme="a">Alarm Options</li>
<li><section class="alarmDetail">Go to Details for <span data-bind="text: alarmID"></span></section></li>
<li><a href="#">Go to Data</a></li>
<li><a href="#">Acknowledge</a></li>
</ul>
</section>
</li>
<!-- /ko -->
</ul>
The only problem is that I lose the actual popup functionality. That is, all list items and sub-list items are always shown. The popup section is not hidden until the popup link is clicked, like what would normally happen.
Any further thoughts?
Thanks again for the info. It's pretty close (I think).