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

(编辑:jimmy 日期: 2024/10/14 浏览:2)

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

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