Hello all. Does anyone have a suggestion to make regarding the following
quandary I find myself in?
I'm trying to submit a form from inside a javascript function thus:
function SubmitFmGenInfo145(action){
//form validation code (omitted here), then:
ColdFusion.Ajax.submitForm('fmGenInfo',
ext 10 [EMAIL PROTECTED]
Sent: Jan 15, 2008 3:08 PM
To: Web Site discussion@acfug.org
Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum
AFAIK the action page you submit to in this case must return only a string and
the callback function can only handle that one string. You can delimit
in advance,
: Peyton
: -Original Message-
: From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED]
: Sent: Jan 15, 2008 3:08 PM
: To: Web Site discussion@acfug.org
: Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum
:
: AFAIK the action page you submit to in this case must return only
?
: Thanks in advance,
: Peyton
: -Original Message-
: From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED]
: Sent: Jan 15, 2008 3:08 PM
: To: Web Site discussion@acfug.org
: Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum
:
: AFAIK the action page you submit to in this case must return
?
: Thanks in advance,
: Peyton
: -Original Message-
: From: Mischa Uppelschoten ext 10 [EMAIL PROTECTED]
: Sent: Jan 15, 2008 3:08 PM
: To: Web Site discussion@acfug.org
: Subject: re: [ACFUG Discuss] Ajax.submitForm Conundrum
:
: AFAIK the action page you submit to in this case must return
: [ACFUG Discuss] Ajax.submitForm Conundrum
Many thanks. I tried your suggestion (i.e., I passed the string: action + '~'
+ 145' as a single parm to the callback function and broke it apart inside
that function), and it worked beautifully! That is, both the database update
and the duties
7:46 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Ajax.submitForm Conundrum: Not Fixed After All
A thousand apologies. I was mistaken when I said that specifying a single
parm in the callback function as opposed to two parms solved the problem. My
only excuse is I had been working