reload Boolean (default: false)

Applicable to remote views only. If set to true, the remote view contents will be reloaded from the server (using Ajax) each time the view is navigated to.

Example

<!-- foo.html -->
<div data-role="view">
    <a data-role="button" href="bar.html">Go to bar</a>
</div>

<!-- bar.html -->
<div data-role="view" data-reload="true">
  I will be requested from the server every time I am displayed
  <a href="#" id="link">Link</a>
</div>
In this article
Not finding the help you need? Improve this article