001JS代码: function open1(obj){ //encodeURI URL编码 window.open("dialogbox.php?name="+encodeURI(obj.innerText),"_blank",); }接收参数:$name=trim((isset($_GET["name"])?$_GET["name"]:NULL));在出火狐以外其它浏览器基本上都可以正确显示,而火狐显示 undefined。接收
<a href=" " onclick="open1(this)">001</a>