I have some issue with navigating to a view with a link created from template. This is my code
<div data-role="view" id="listview-products">
<a data-align="left" data-role="touch" href="\#listview-products">
<div class='product'>
</div>
</a>
</div>
<div data-role="view" id="listview-products">
test
</div>
when i click on this div (in chrome browser on pc) i get this error: XMLHttpRequest cannot load '<deleted for readability>' Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
I don't understand this error because i am trying to load a plain local view. This works when i use data-role="button" on the div element.