Javascript的URL处理:
1,UrlUtil.js
2,调用:
3,访问参数各种不完全的情况:
4,window.document.URL与location.href的区别:
document.URL是访问的文档URL,而window.location.href是真实的文档URL
服务器重定向后有可能使document.url变动,但window.location.href指的永远是访问该网页时用的URL.
document.URL 只读,location.href 可写