I am I going about this correctly?
<script type="text/javascript">
<!--
<cfoutput>
function openBokningADB()
{
window.open("http://www.adbutveckling.se/cbweb/internetbutik.asp?AgentId=#session.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
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4