[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: javascript- variable question - in XSL document

Subject: RE: javascript- variable question - in XSL document
From: "Koes, Derrick" <Derrick.Koes@xxxxxxxxxxxxxxxx>
Date: Fri, 19 Sep 2003 14:31:18 -0400
javascript destroy variable
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.