Ok I see what you're doing now, the reason it works on the browser is that
your placing (Or technically speaking injection JS into the
Dom) JavaScript into the requested page. That means when it displays it
will run that JS, but for ColdFusion to actually know about this, you have
to get JavaScript to return the variables via Ajax.

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+:  http://plus.google.com/113032480415921517411



On Sun, Dec 23, 2012 at 7:31 PM, The Dude <[email protected]> wrote:

>
> I agree technically it should not work as one side is client, the other
> server, but on my test page it does present the js result value instead of
> the text string. Cfdump shows text strings, but within cfoutput tags seems
> to work showing the js results. A fluke :)
>
> I tried the form post option, but its less than ideal doing another page
> call. If any of you have an example how to ajax post those vars from client
> to server, it will be much appreciated.
>
> >What is this  "virtual concurrency between server and client call" stuff?
> I
> >think I missed that in the instruction manual.
> >
> >Paul is correct, that output requires a DOM to run, CF is just seeing a
> >text string.
> >
> >View source will also show you the output JavaScript.
> >
> >It is possible to pass those screen variables back to CF's session using
> >client side script, just not the way that is being presented.
> >
> >
> >
> >
> >>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353632
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to