标签:
var _absUrl = (function () { var a; return function (url) { if (!a) a = document.createElement(‘a‘); a.href = url; return a.href; };})();
获取url据对路径写法
原文地址:http://www.cnblogs.com/blowfish/p/4689346.html