我有一个 index.html 和 edit.html 并尝试执行以下操作,但是通过单击第二个和第三个链接,模拟器向我显示了一条错误消息:Application Error, A network error occurred (file://android_asset/www/ edit.html?id=2) 和 (file://android_asset/www/edit.html?id=3)
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>PhoneGap</title>
<link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title">
<script type="text/javascript" charset="utf-8" src="cordova-1.8.0.js"></script>
<script type="text/javascript" charset="utf-8" src="main.js"></script>
</head>
<body id="stage" class="theme">
<h1>Welcome to XXX!</h1>
<a href = "edit.html"> 1</a>
<a href = "edit.html?id=2"> 2</a>
<a href = "edit.html?id=3"> 3</a>
</body>
</html>
我的 edit.html 只是一个 html 标题和正文。
知道为什么吗?