> Proabably a bit late to place this request for 5.0 - but how about 6.0?
>
> Why don't you all make CF capable of grabbing JavaScript
> variables at will throughout the page using a function like
> scriptvar() or jsvar() or something like that? As many people as
> use ColdFusion together with JavaScript, this seems like it would
> have been addressed in version 1.0 - but now we're at 5.0 and
> still no mention of being able to easilly access JavaScript
> variables via CF.
>
> And no, I don't mean through a form submission, or in the URL or
> anything else - I mean mid page I'd like to be able to do something like:
>
> <script>
> colorval=thing.style.backgroundColor
> </script>
>
> <cfoutput>You're using color: #jsvar(colorval)#</cfoutput>
>
> Not the best example, but you get the idea. I'm sure it presents
> logistical problems since CF is processed on the server and JS on
> the client, but you all are bright folks, surely you can figure
> this one out :) (please?)
Erm, just how is it meant to do this?
JavaScript is Client side, CF is Server side - it doesn't really know that
the user is the same one as the previous requester, so if the developer is
too lazy to pass variables to the CF server, is it meant to be psychic and
predict which of the thousands of users have which JavaScript variables -
and what if the user has JavaScript disabled? Is CF meant to know this
without checking?
CF7, the psychic platform that knows what you want before you even know
yourself... a bit of quantum programming required, and don't forget to
upgrade to Windows QT - the Quantum version of NT for Quantum machines
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists