Skip to content

Instantly share code, notes, and snippets.

View ccwq's full-sized avatar
🎯
Focusing

Dave C ccwq

🎯
Focusing
View GitHub Profile
/*
* @function: 通过a标签解析url标签
* @param:url url参数是字符串,解析的目标
通过IE6-9 chrome Firefox测试
*
*/
function parseURL(url) {
//创建一个a标签
var ac = arguments.callee;