Hmmm...

I tried using the specialIDList.push(specialID) approach, and I get the
correct
output in console.log,  [ "27", "28", "26" ], but I also get the error in
Firebug,
"500 Element SPECIALIDLIST is undefined in ARGUMENTS.

I also tried using specialIDList = specialID.join(', ') and I still get the
same
output in console.log, [ "27", "28", "26" ], but I also get the same error
in Firebug,
"500 Element SPECIALIDLIST is undefined in ARGUMENTS.

So, the cfc method doesn't understand speciaIDList when it's sent in the
form
above, even when I specify the argument as "array" type.

Suggestions on what to do now? Something else on the client side with
jQuery/JS
or something on the method side with CF?

Thanks for any feedback!

Rick






On Wed, Jan 15, 2014 at 9:20 PM, Raymond Camden <raymondcam...@gmail.com>wrote:

>
> On Wed, Jan 15, 2014 at 5:38 PM, Rick Faircloth <r...@whitestonemedia.com
> >wrote:
>
> >
> >
> >
> > It shows [ "27", "28", "26" ] in the console.
> >
> > I guess I can just pass that through and have a cfargument type of "list"
> > and parse those ID's with a cfloop to assign them to individual
> > cfarguments.
> >
> > Or does a cfargument type of "list" handle the ID's without having to
> > break down the list into individual arguments?
> >
> >
> Not exactly. You can't pass complex variables like that via HTTP. It has to
> be serialized first. I believe jQuery will do that for you- but I'd
> probably do it myself - ie, somearray.join(",").
>
>
>
>
> >
> > On Wed, Jan 15, 2014 at 6:00 PM, Raymond Camden <raymondcam...@gmail.com
> > >wrote:
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357444
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to