我正在做一个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">
<!