Nope, shouldn't be.
I suppose your browser might run out of memory on their computer, but that's
not really a limitation you can control anyway.
---
Barney Boisvert, Senior Development Engineer
AudienceCentral
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax : 360.647.5351
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
Barney,
How would you know if their browser ran out of memory? Is there a tell
tail sign of this occurrence?
Regards,
JB
Barney Boisvert wrote:
Nope, shouldn't be.
I suppose your browser might run out of memory on their computer, but that's
not really a limitation you can control anyway.
: 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
var to Cold Fusion var
Barney,
How would you know if their browser ran out of memory? Is there a tell
tail sign of this occurrence?
Regards,
JB
Barney Boisvert wrote:
Nope, shouldn't be.
I suppose your browser might run out of memory on their
computer, but that's
not really
Sorry... max length on a hidden field is 1024.
ô¿ô 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
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
Sorry... max length on a hidden field is 1024.
I've used more characters than that in a hidden field before. Out of
curiosity, where'd you get that figure?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
Can't remember - read it on a web page somewhere and assumed it was accurate - what is
the max length if that is not right?
ô¿ô Tony
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 3:27 PM
To: CF-Talk
Subject: RE: JavaScript var to Cold Fusion
-Original Message-
From: Tony Walker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 6:17 PM
To: CF-Talk
Subject: RE: JavaScript var to Cold Fusion var
Sorry... max length on a hidden field is 1024.
I doubt that's right (unless it's for a specific browser). I've passed
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 3:32 PM
To: CF-Talk
Subject: RE: JavaScript var to Cold Fusion var
I doubt there is one defined, it'd be up to each browser's
implementation, but I'd imagine it's enormous. No reason
not to make it that way that I can think of. I've never
run into a limit on any form field's length (text, hidden
or textarea) that I can recall.
I've run into length
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
Nothing that can be detected programatically with javascript... However, I worked at a
company (which will remain nameless) where the word of the day was that they believed
every person using their application(s) to be hideously stupid and so you should never
trust them to enter anything into a
Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 4:16 PM
To: CF-Talk
Subject: RE: JavaScript var to Cold Fusion var
I doubt there is one defined, it'd be up to each browser's
implementation, but I'd imagine it's enormous. No reason
not to make
Larry,
JS is purely client, which means to execute an CFML based upon JS you're
going to have to make a roundtrip to the server. WDDX is great for
serializing JavaScript data and passing it into a format CF can deal with
natively.
For ways to interactive w/the server without appearing to leave
I am curious how you have seen this, since that means a Client side
language, JavaScript, made a variable within a Server side language,
ColdFusion. That can not be done unless you use JavaScript to load a .CFM
page and that page handles your CFMAIL. Oh and you might want to fix your
email sig,
I know I have seen this in the past and can not for the life of
me find it.
I am having NO PROBLEM at all getting JS to evaluate to a CF
variable, but
how do I do it in reverse.
I have JS variables that I would like to convert to CF.
Also, I have a confirm in JS that upon a true value, I
Cold Fusion is run on the server and has no access to JS variables which are
run on the users machine unless the JS variable is passed back to the server
through a url or form variable. So if you are using JS to pass data back to
CF you need a page submission.
Does that help?
-
Nate Smith,
Yes - Thanks to all who replied.
-Original Message-
From: Nate Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 9:33 AM
To: CF-Talk
Subject: RE: JavaScript var to Cold Fusion var
Cold Fusion is run on the server and has no access to JS variables which are
run
Javascript is client side. Cold Fusion is server side. When js is executing
the cf engine is long gone. You can pass the js variables to a cf template
when you next hit the server of course.
- Original Message -
From: Larry Junker [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent:
I know I have seen this in the past and can not for the life
of me find it. I am having NO PROBLEM at all getting JS to
evaluate to a CF variable, but how do I do it in reverse.
I have JS variables that I would like to convert to CF.
Also, I have a confirm in JS that upon a true value,
to convert a JS variable to CF you must use JS to write the value to a
hidden form field then submit the form. The problem is that CF happens
server-side - before JS which happens client-side. That means that CF
variables can be put into JS but not vice-versa.
As for sending mail you have two
Someone posted a javascript confirm script a few messages ago, and it was so
clean, I wanted to save it.. but I erased it by mistake.
Can you repost it.. whoever you are?? :)
Thanks!
Lee
~~
Structure your ColdFusion code with Fusebox.
24 matches
Mail list logo