I posted some a while back in another thread. I really *should* have
examples both on http://cjordan.us and on http://cfjs.riaforge.org/

I'll get that done soon.

It's super simple though. Here's an example from a piece of code I'm
writing now:

if($.IsDefined(myArray[myArray.length - 1]) &&
$.StructKeyExists(myArray[myArray.length - 1], "columnnamesort")){
    ColumnDetailStruct.columnnamesort = (myArray[myArray.length -
1].columnnamesort) + 10;
}
else{
    ColumnDetailStruct.columnnamesort = 10;
}

In this case (for the sake of formatting) I shortened the array
variable name. Anyway myArray is an array of structures (in javascript
those are really objects, but for all intents and purposes (please
someone correct me if I'm wrong) they behave the same.

None of these functions are chain-able.  They must be accessed as
$.funcName(parameters);

Let me know if this example doesn't make sense. :o)

Cheers,
Chris

On Apr 18, 5:35 pm, "Web Specialist" <[EMAIL PROTECTED]>
wrote:
> Looks like a great and nice job for all CFers! But where I can read any
> example to use that library in my app? ;-)
>
> Cheers
>
> 2007/4/17, Rey Bango <[EMAIL PROTECTED]>:
>
>
>
> > Great job Chris!!!
>
> > Christopher Jordan wrote:
>
> > > Hi folks,
>
> > > Just a quick note to say that I've updated the library to fix a bug in
> > > the DollarFormat() function.
>
> > > Also, when I get a spare moment or three, I'll be adding heaps more
> > > CFScript functions to the library.
>
> > > The SVN on RIAForge (http://cfjs.riaforge.com) is probably the best
> > > place to get the code right now. The most recent version is 1.0.3. If
> > > you look at the top of the comments in the unpacked version that's what
> > > should be there.
>
> > > Thanks!
> > > Chris
>
> > --
> > BrightLight Development, LLC.
> > 954-775-1111 (o)
> > 954-600-2726 (c)
> > [EMAIL PROTECTED]
> >http://www.iambright.com

Reply via email to