如何使用jquery获取上一页的URL?
我使用以下代码来获取当前页面位置
$(document).ready(function() { var pathname = window.location.pathname; });
jquery
jquery ×1