当前位置:首页 >> 网络编程

javascript中的window.location.search方法简介

window.location.search方法是截取当前url中“?”后面的字符串,

例如:index.php?act=doctor,截取后的字符串就是act=doctor