[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Passing variables between Javascript and XSL
Hi, I am trying to invoke a popup window from XSL page (of Cocoon 2.0 app): ... <a href="#" class="NavLink" onClick="var features = 'maximize=no,toolbar=no,location=no,menubar=no,status=yes,resizable=yes,scrol lbars=yes,top=0,left=0,screenX=0,screenY=0,width=' + (screen.availWidth - 10) + ',height=' + (screen.availHeight - 30); window.open('custdata_popup?bunit_num=','custdata_popup', features );"> <xsl:value-of select='sql:row[2]/sql:param2'/></a><br/> ... The problem is that I have to pass the value of the XSL variable as a parameter to that URL as: 'custdata_popup?bunit_num='<xsl:value-of select='sql:row[2]/sql:param1'/> How can I do that ? Thank you, Oleg.
|
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
|