[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] javascript- variable question - in XSL document
I have a javascript function in an XSL page, and can't get the beast to handle it's own variable. - Is there something about being in an xsl doc that buggers javascript? The below code will simply output 'varNow' in the URL string, instead of it's decalred value of 'testText'.. Am I crazy? Or at least can someone can illuminate my ignorance? ---------------------------------------------------------------------------- --------- <script language="javascript"> function getPL(form) { if (form.rptPeriod[0].selected) { varNow = "testText"; window.open('http://192.168.1.13/OnePointBPO/popup.cfm?selectAcct=varNow', 'Popup', 'alwaysRaised=yes,resizable=no,scrollbars=no,height=200,width=200'); } else { dateForm.submit(); } return true; } </script> ---------------------------------------------------------------------------- --------- thanks- flashlight 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
|