js函数提示参数未定义,在线等,很着急
海蓝树 2009-11-05 09:42:37
代码如下:
<a href='javascript:eshop(1342,'asdfasfe')'><img border=0 src=img/addtocart.gif width=100 height=26></a></div>
<script>
function eshop(id,cpname) { window.open("eshop.aspx?cpbm="+id+"&cpname='"+cpname+"'","","height=350,width=640,left=200,top=0,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");}
</script>