js怎样获得页面传递参数假设浏览器的地址栏是http:www.baidu.com?id=5&key=655454要获取key的值function getParam( name ) { var reg = new RegExp( &2023-04-14JavaScript310