document.write('')里面怎么用window.open? echo "<script>document.write(\"<a href='javascript:window.open(\\\"url\\\",\\\"\\\",\\\"scrollbars=yes,width=600,height=400\\\");\'>".$result[state]."</a>\");</script>"; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 点击了以后。。出现[object]。。为什么呀? 加入了win.focus()后,[object]没有了。。不过IE提示win未定义。。而且GIF动画都不动了。。 echo "<script>document.write(\"<a href=# onclick='javascript:window.open(\\\"url\\\",\\\"\\\",\\\"scrollbars=yes,width=600,height=400\\\");\'>gfds</a>\");</script>"; 这样才对:echo "document.write('<a href=\"#\" onclick=window.open(\'url\',\'\',\'scrollbars=yes,width=600,height=400\')>$result[state]</a>');" ;你写掉了触发事件和一个“>”,已经单引号配对有问题。。 请问一个类的(特权)方法,算不算是形成一个闭包? 求一个tr内字体font-weight: bold; 关于JavaScript传递数据的问题! ajax getResponseHeader('Set-Cookie') 组合排列算法 请教一个传值问题 这就是传说中的难题??? 我对表格动态添加行成功了,可是缺乏技术手册,请路人帮我一下,请问想删除任意一行怎么办? 请问大家有办法做一个无框的浏览器窗口吗?好象很简单呐,可是....^_^ javascript window 中显示的浏览器大小问题 有关弹出框的问题,急用 100分请高手相助!
echo "document.write('<a href=\"#\" onclick=window.open(\'url\',\'\',\'scrollbars=yes,width=600,height=400\')>$result[state]</a>');" ;
你写掉了触发事件和一个“>”,已经单引号配对有问题。。