现在的情况是
<body>
<section id="p1" data-role="page">
<header data-role="header">
<h1>p1</h1>
</header>
<p class="content" data-role="content">
原因
resaon1
<input id="reason1" type="text"/></p></p>
<footer data-role="footer"><h1>footer</h1></footer>
<script>
$(document).ready(function(e) {
$("#fannao").append("添加内容");
});
</script>
</section>
</body>
跳转的目标页的代码如上,跳转之后,append无效,但是单独打开这个文件append是有效的,
请问是不是在跳转过程中有什么需要注意,或者是函数写错了?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...