...

View Full Version : Passing javascript variable to XSL



venksrir
05-22-2005, 07:03 PM
Hi,
I have a requirement where i need to pass the javascript variable to XSL which actually calls a java method(the javascript var is parameter to this method)
Eg:
function xx(a) {
var x =Value selected from the dropdown box (a here)
<xsl:variable name="aa" select="xx:javamethod(javascript var x): />

if i simple pass x to the method,the value in x is not passed instead the value X itself is passed
Pls help me how to achieve this..
Thanks in advance

glenngv
05-23-2005, 06:59 AM
Not possible as XSL is executed first to transform XML into HTML document that may contain Javascript. Just submit the page and call the java method passing the selected item.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum