[thelist] Javascript Variables to Cold Fusion Variables

Mike Stanley mikes at ablecommerce.com
Tue Jul 17 12:26:16 CDT 2001


oops sorry I just found an article on JS and ColdFusion using WDDX:

http://www.halhelms.com/javascript/index.cfm?fuseaction=1

At 12:17 PM 7/17/2001 -0500, you wrote:

>Wrong way.  Javascript to Cold Fusion, Not Cold Fusion to Javascript
>But thanks anyway. :)
>
> >><cfquery datasource="aDatasource" name="myQ">
> >>SELECT userName
> >>FROM Users
> >>WHERE userID = '#cookie.userID#'
> >></cfquery>
> >><cfoutput>
> >><script language = "javascript">
> >>alert('Hi there, #myQ.userName#');
> >></script>
> >></cfoutput>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list