Wednesday, October 14, 2009

[jQuery] Re: Adding selectors to $(this)?


On Tue, Oct 13, 2009 at 6:49 AM, Matt <guitarromantic@gmail.com> wrote:

What I want, though, is to add this class to the <h3> within my <li>.
I tried:

          receive: function(event, ui) {
                       $(ui.item + ' h3').addClass('editable');

$(ui.item).find('h3').addClass('editable');

- Richard

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate