关于window.open的问题

来源:百度知道 编辑:UC知道 时间:2024/06/01 13:20:18
<script type="text/javascript">
function showPub(pac,pid)
{
window.open("pubabv.asp?GoodsID="+pac+"&ss="+pid+"","width=600,height=600,top=100,left=500");
}
</script>
我的pubabv.asp后面想带2个参数,我这么写 一直报错。
请教大家 pubabv.asp后面带2个参数 应该怎么写?

<script type="text/javascript">
function showPub(pac,pid)
{
window.open("pubabv.asp?GoodsID="+pac+"&ss="+pid+"","","width=600,height=600,top=100,left=500");
}
</script>

你window.open中间少了个参数了