把你的脚本直接写在 html 文件里运行就可以看到那里错误了;string s="<script language=javascript>window.opener.document.getElementById('txtKemu').value=\"" + xml +"\";alert(window.opener.document.getElementById('txtKemu').value);window.opener.document.getElementById(\"btnAdd\").click(); </script>"); "把这个 string copuy 出来直接写在 aspx 文件里或html 文件里看看;
把你的脚本直接写在 html 文件里运行就可以看到那里错误了;string s="<script language=javascript>window.opener.document.getElementById('txtKemu').value=\"" + xml +"\";alert(window.opener.document.getElementById('txtKemu').value);window.opener.document.getElementById(\"btnAdd\").click(); </script>"); "把这个 string copuy 出来直接写在 aspx 文件里或html 文件里看看;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货