0

when I apply an ID of "assets" to may jquery mobile page it has some strange behavior when I directly call it. for example http://localhost/Index.html#assets

any idea?

4

1 回答 1

0

确保您的 id 正确放置在第二页中。

<div data-role="page" id="mainPage">
      <a href="#assets" data-role="button" > Go To Assets </a>
</div>

<div data-role="page" id="assets">
      Assets page.
</div>
于 2012-04-27T15:22:56.263 回答