The first thing I tried was mapping the database results returned via the REST query service. I mapped $ to a local storage variable called category1Data. When the page loaded, I looked for the local storage variable and there was nothing there.

I had expected to see the JSON array of database records but there was nothing at all. The local storage variable hadn't even been created. Can you explain why?

I eventually settled on the jquery code: $("[name='label']").each(function () {...

A bit of background. There is a Label control inside the List control. The Label is mapped to the text value that is returned by the REST service query. The label has the name 'label' (not very imaginative I know). The HTML generated by Appery for each label is like this: