Sunday, February 19, 2012

latch onto the first two divs within a div in a jasmine-jquery widget using jQUery's nth-child

self.options.container = container;

self.definePortletHeader(self.options.container.children(":nth-child(1)"));

self.definePortletContent(self.options.container.children(":nth-child(2)"));

No comments:

Post a Comment