+ -
当前位置:首页 → 问答吧 → 简单的问题

简单的问题

时间:2011-09-03

来源:互联网

只能执行第一句 为什么??

XML code

<input type="button" value="变更" class="small" runat = "server">
          <xsl:attribute name="onclick">
            <!--弹出本身的页面-->
            window.open("../../Views/CommandPanel.aspx?command=<xsl:value-of select="@cmd"/>","Proxy");window.refresh();location.reload();alert("ok");
          </xsl:attribute>
        </input>


window.open 可以 window.refresh();location.reload();alert("ok");都不行 怎么办??

这几个我都要执行的

作者: coolsky600   发布时间: 2011-09-03

转换出来的html源代码是什么? onclick="中间是不是包含了双引号"?

作者: hookee   发布时间: 2011-09-04

热门下载

更多