Since I was the guy asking this question about a week ago....

Here is a what I am using to pass the JS screen rez to CF params on the next
page.

Hope it helps...

<script language="JavaScript">
function SetRez (form)
{
document.form.xrez.value = window.screen.width;
document.form.yrez.value = window.screen.height;
}
</script>
.....

<form method="post" name="form"
action="http://www.deliveru.com/public/index.cfm"
onsubmit="javascript:SetRez(this.form);">
<input type="hidden" name="xrez" value="">
<input type="hidden" name="yrez" value="">
.....

-Bill
/intraget
----- Original Message -----
From: Garry Viner <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 11:48 PM
Subject: Accessing javascript variables in Cold Fusion


> Hi all
>
> Does anybody know how to access a Javascript variable in Cold Fusion? To
> give you an example, I have some JS running as part
> of a cross-select box in Cold Fusion. I need to be able to access the
values
> of the elements in the right hand box, and these are stored within a
> Javascript variable. But I need to create a Cold Fusion list out of these
> elements, so I need CF to be able to resolve this variable. I've always
> wondered how to do this, and never found the code, so I'd love to find out
> how it's done. Probably something simple that I'll kick myself for...
>
> Thanks
>
> Garry
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to