yup :-)
----- Original Message ----- From: "Dominic J. Doucet-Lorang" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 7:04 AM Subject: RE: passing session variables > I am I going about this correctly? > > <script type="text/javascript"> > <!-- > <cfoutput> > > function openBokningADB() > { > window.open("http://www.adbutveckling.se/cbweb/internetbutik.asp?AgentId=#se ssion.byraid#","internetbutik","dependent=yes, > directories=no, hotkeys=no, menubar=no, personalbar=no, status=no, > toolbar=no, location=no, scrollbars=yes, width=787, height=550"), > } > </cfoutput> > // --> > </script> > > <a href="javascript:openBokningADB()">test STS</a> > > Dominic > > At 11:14 23.06.2003 +0100, you wrote: > > > I have a javascript function I need to pass some CF session > > > variables to how can I go about it? > > > >CFOUTPUT > > > > > >Since the JS is just text, then put the variables into the function when > >you build it > > > >If it's in a JS file, then write the call to it including the variables > > > > > ><CFOUTPUT> > >myFunction(#Session.Var1#, #Session.Var2#); > ></CFOUTPUT> > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4