Re: Recommendations for Ajax ID's

From: Chuck Hill (chil..lobal-village.net)
Date: Thu Apr 23 2009 - 14:17:33 EDT

  • Next message: Ricardo J. Parada: "Re: Recommendations for Ajax ID's"

    On Apr 23, 2009, at 10:43 AM, Ken Anderson wrote:

    > The 3 pop-ups I tied together with Ajax are in a single component
    > that can be on a page multiple times, so I need to come up with
    > unique ID's for the pop-ups and update containers. What do people
    > use? I was thinking about using the element ID, but can't seem to
    > find out how to get it...

    id = context.elementID;

    Should do it. I usually use WOOGNL:

    id = ~"Row_" + repetitionIndex + "_Foo";

    Chuck

    -- 
    Chuck Hill             Senior Consultant / VP Development
    

    Come to WOWODC'09 in San Fran this June! http://www.wocommunity.org/wowodc09/



    This archive was generated by hypermail 2.0.0 : Thu Apr 23 2009 - 14:18:34 EDT