I don't know for sure but I believe hidden fields can only be 256 characters long.

τΏτ Tony

-----Original Message-----
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 01, 2003 2:52 PM
To: CF-Talk
Subject: RE: JavaScript var to Cold Fusion var

that's what hidden form fields are for.  no sense exposing it at all, except
maybe for debugging purposes.

---
Barney Boisvert, Senior Development Engineer
AudienceCentral
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax   : 360.647.5351

www.audiencecentral.com


> -----Original Message-----
> From: Tony Walker [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 01, 2003 2:35 PM
> To: CF-Talk
> Subject: RE: JavaScript var to Cold Fusion var
>
>
> You could create a text area and stick the string in it and have
> it as the last thing on the page in a span that you hide:
>
> function buildLongString(parms)
>       {
>               document.all. txaLongString.value = '';
>               .....
>               build the string here
>               .....
>               txLongString = document.getElementById(' txaLongString ');
>               txaLongString.innerText = builtString;
>
>       }
>
>       <style type="text/css">
>               .spnClass {visibility: hidden;}
>       </style>
>
> <span id="spnSql" class="spnClass">
>       <textarea id="txaLongString" cols="80" name="longString"
> rows="200"> </textarea>
> </span>
>
> τΏτ Tony
>
> -----Original Message-----
> From: Yinghong Li [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 01, 2003 2:17 PM
> To: CF-Talk
> Subject: JavaScript var to Cold Fusion var
>
> Hi,
>
> I want to pass a variable from javascript to coldfusion cfquery
> tag.  From what I read I can only do it through a url parameter
> or use form submit.  In our case url option is out since our
> variable is very long. I want to try form submit. My question is
> when I use form submit there is any restriction for the length of
> a string.
>
> Thanks.
>
> Yinghong Li
> City of Austin
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to