mbtq

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年10月23日

摘要: 一、var url=document.location;url ="www.abc.com/sports/def.aspx";var r =/\/(\w+)\.aspx/;alert(url.match(r)[1]);alert(r.exec(url)[1]);二、var url = document.locationurl = " http://localhost:8080/Customer/index?token=ghfghfghfghfgh&mediaUserID=120122&redirect_url=www.wwwghgh.com&quo 阅读全文
posted @ 2012-10-23 09:57 mbtq 阅读(193) 评论(0) 推荐(0) 编辑