Community Member Profile

Colin Hawkett
Member since Sep 12, 2010

Recent Blog Comments By Colin Hawkett

  • Your jQuery Selector Context Can Be A jQuery Object

    Posted on Sep 13, 2010 at 7:40 AM

    Not sure about that - at other points in his book he explicitly uses the following convention: $('a', $('#context')[0]) Not saying for sure this is correct, but certainly the code you are seeing with this syntax could very well be the result of expert advice - I know I used that conve... read more »

  • Your jQuery Selector Context Can Be A jQuery Object

    Posted on Sep 12, 2010 at 2:06 AM

    My understanding is that the context parameter behaviour has changed in jQuery 1.4, and it was not good practice prior to pass the jQuery object as a context. Cody Lindley notes at the beginning of chapter 9 of 'jQuery enlightenment' (for 1.3.2) about passing context - 'For a performance... read more »

Member Account Kinky Solutions Shop
  • Help Wanted - Find Your Next ColdFusion Job
InVision App - Prototyping Made Beautiful With Prototyping Tools