1、window.location.href (设置或获取整个URL 为字符串). var test = window.location.href; alert(test); // 返回:http://i.cnblogs.com/EditPosts.aspx?opt=1 ...
確定! 回上一頁