ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error
|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to call Javascript function from xsl
Hello Charles,
your problem has nothing to do with XSLT. You don't want "to call Javascript function from xsl", but getting the javascript to work in the resulting HTML code. If you know the code works in IE, it can't be a XSLT problem, but a js problem; so it's off topic. What I can see in your code, is a missing semicolon after the alert, but I think, it's only a typo. But what is "document.Modify"?? Did you see the alert in NS? What version of Netscape are you using? Try the latest Mozilla release (1.0 or 1.1 beta) to be sure of best support of XSLT, js and so on. There you have a very helpful "Javascript Console" to find out possible JS errors. Furthermore you can use attribute value templates for your code: <select onChange="on_change()" name="logType">
<xsl:for-each select="LOG">
<option value="{@TYPE}">
<xsl:if test="@TYPE=$logType">
<xsl:attribute name="SELECTED"/>
</xsl:if>
<xsl:value-of select="@TYPE"/>
</option>
</xsl:for-each>
</select>Regards, Joerg charles wrote: Hi , XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








