Wow! Where what I on the 13th? Sorry, I've been sort of absent from this discussion. Karl, thanks for the info on using !!, I've not used a double not before. I think I may have to read the thread again to fully understand it, but it seems really cool.

@Daemach,

Sure I'll add it! :o)

I'm sorry I never got any examples written. I'm guessing that some folks still need examples so I'll work on a post today. Also, I'll find some JS compression routine somewhere today (any suggestions?) and compress the code so it will end up smaller.

Also, thanks for the interest in the plug-in. :o)

Cheers!
Chris

Daemach wrote:
Please add:

        StructKeyExists: function(s,k){
                for(var n in s){
                        if (n == k) return true;
                }
                return false;
        },


Shall we post additions and updates here?



Christopher Jordan wrote:
Hi fellow jQuerians!

I've just published a new plug-in that adds 42 handy ColdFusion functions to the jQuery object. The methods are designed to behave like their ColdFusion counterparts.

Here's the list:

Abs(number)
ArrayAppend(array, value)
ArrayLen(array)
ArraySort(array, sort_type [, sort_order ])
ArrayToList(array [, delimiter ])
Ceiling(number)
Compare(string1, string2)
CompareNoCase(string1, string2)
DateDiff(datepart, date1, date2)
DecimalFormat(number)
DollarFormat(number)
Find(substring, string)
FindNoCase(substring, string)
Insert(substring, string, position)
IsDate(date)
IsNumeric(string)
LCase(string)
Left(string, count)
Len(sting)
ListAppend(list, value, [, delimiters])
ListDeleteAt(list, position [, delimiters ])
ListFind(list, value [, delimiters ]))
ListFindNoCase(list, value [, delimiters ]))
ListFirst(list, [, delimiters ])
ListGetAt(list, position [, delimiters ]))
ListLast(list, [, delimiters ])
ListLen(list [, delimiters])
ListToArray(list [, delimiters])
LTrim(string)
Mid(string, start, count)
Replace(string, substring1, substring2 [, scope ])
ReplaceNoCase(string, substring1, substring2 [, scope])
Reverse(string)
Right(string, count)
Round(number [, number of decimal places])
RTrim(string)
StructKeyList (struct [, delimiter])
StructKeyArray (struct)
Trim(string)
UCase(string)
URLDecode(string)
URLEncodedFormat(string)

I have plans for at least a few more ColdFusion functions in a future version.

visit: http://cjordan.us to download the code. There is not a packed version yet.

I find these functions useful, and while ColdFusion coders may be the first to benefit, maybe folks from other languages might find them useful as well. I'd love to hear suggestions and comments.

Cheers,
Chris


--
http://cjordan.info


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/




--
http://cjordan.info

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to