This is the point in ajax, to send.data.from client side to server side.
Its not magic, it works like an iframe.

Regards
Russ Michaels
www.michaels.me.uk
www.cfmldeveloper.com - Free CFML hosting for developers
www.cfsearch.com - CF search engine
On Dec 24, 2012 1:58 PM, <> wrote:

>
>  >>But you cannot get these values ntil after he page loads
>
> The page loads but reloads immediately sending the values in the same time.
> It is still a two steps process, but in this case, the first step is
> automatic and transparent to the user.
>
>  >>so using ajax is perfectly valid way to send dom data back to cf
>
> No, Ajax looks like magic, but it is still a plain Javascript function so
> it executes on client side only when the page loads, thus too late for the
> server to correctly use the screen width and height.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:353675
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to