我正在做一個PJAX(pushState+AJAX)無刷新改變URL的頁面,以下是個簡單的測試:
pushState1.html:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script src="jquery.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
<!