以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 XSL/XSLT/XSL-FO/CSS 』  (http://bbs.xml.org.cn/list.asp?boardid=8)
----  我想在JS中把XSL参数(Parameter)的值alert出来,用什么命令  (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=22676)


--  作者:笑三笑
--  发布时间:9/30/2005 1:42:00 PM

--  我想在JS中把XSL参数(Parameter)的值alert出来,用什么命令
ProcSetParam.addParameter("ViewColumnList",ViewColumnList);
修改XSL文件里的参数用addParameter
我想在JS中把XSL参数(Parameter)的值alert出来,用什么命令
--  作者:Qr
--  发布时间:9/30/2005 3:37:00 PM

--  
写一个js函数,然后在XSL中引用,比如:
<xsl:attribute name="onClick">myfunc('<xsl:value-of select="$ViewColumnList"/>')</xsl:attribute>


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
31.250ms