Aidan Kane
Member since Oct 6, 2009
- Profile: /members/4463-aidan-kane.htm
- URL: http://www.photoswarm.com
- Comments: 4
Recent Blog Comments By Aidan Kane
-
Using CFParam To Define A Variable Number Of Arguments In ColdFusion (And What ColdFusion 9 Teaches Us)
Posted on Nov 17, 2009 at 11:25 AM
I'm all for named arguments. I use them pretty much everywhere. It might add to the verbosity of calling the functions but it's so handy when you want to extend the signature of the method later (which invariably you will do). Even in complex situations I know that adding another argument to a func... read more »
-
jQuery's Closest() Method Returns Only One Ancestor
Posted on Oct 6, 2009 at 3:21 PM
@Karl - that's an important distinction and as you say, actually very useful. that's something I has wished up and down did in the past.... read more »
-
jQuery's Closest() Method Returns Only One Ancestor
Posted on Oct 6, 2009 at 11:47 AM
up and down are specifically for fetching a single element from the tree. otherwise you have to use ancestors / select to match on multiple elements. basically both frameworks now have the same functions with completely different naming conventions.... read more »
-
jQuery's Closest() Method Returns Only One Ancestor
Posted on Oct 6, 2009 at 10:14 AM
ah ha! good news. in prototype you have the infinitely useful .up() and .down() functions for doing this. it's great that jquery have followed suit.... read more »