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