Subject: RE: [xsl] javascript- variable question - in XSL document From: "Koes, Derrick" <Derrick.Koes@xxxxxxxxxxxxxxxx> Date: Fri, 19 Sep 2003 14:31:18 -0400 |
Try: window.open('http://192.168.1.13/OnePointBPO/popup.cfm?selectAcct=' + varNow); -----Original Message----- From: Bruce Rojas-Rennke [mailto:brr@xxxxxxx] Sent: Friday, September 19, 2003 1:53 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] 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 This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] javascript- variable ques, Martinez, Brian | Thread | [xsl] Find position of a node with , Robert Ogden |
RE: [xsl] javascript- variable ques, Bruce Rojas-Rennke | Date | Re: [xsl] Can't filter the data cor, David Carlisle |
Month |