i can't think of a simple, basic way off the top of my head.
i'd probably end up doing a list.split(',') to convert the list to an
array, then looping over the array to see if the element exists.
that's not to say there's not a simple way tho. matter of fact, it's
generally when i've gone ahead and suggested my long-ass way that jim
davis comes along and says, "sure... just use ______" (and he's right,
dammit) :)
On Jan 18, 2008 9:16 AM, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Does anybody know if there is a simple, basic JavaScript equivalent of
> the CFML listContains() function that can determine if a given value is
> one of four possible values.
>
> TIA
> Ian
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296827
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4