首页 > jQuery Mobile在页面跳转上有什么需要注意的地方?

jQuery Mobile在页面跳转上有什么需要注意的地方?

现在的情况是

<body>
<section id="p1" data-role="page">
<header data-role="header">
<h1>p1</h1>
</header>
<div class="content" data-role="content">


<button type="button" data-icon="gear" data-iconpos="right" data-mini="true" data-inline="true" id="add">Add</button>

原因



<div id="set1">

resaon1

<input id="reason1" type="text"/></div>

</div>
<footer data-role="footer"><h1>footer</h1></footer>
<script>

$(document).ready(function(e) {

$("#fannao").append("添加内容");

});

</script>

</section>

</body>

跳转的目标页的代码如上,跳转之后,append无效,但是单独打开这个文件append是有效的,
请问是不是在跳转过程中有什么需要注意,或者是函数写错了?

【热门文章】
【热门文章】