Thanks, jdalton!
cool technique, also thanks for pointing me to 'delegate', gonna play
with this today.

this was my first topic in this group, and i was feeling like i
created a monster due to some of the unpleasantries that ensued.

sorry to everyone if i sowed the seeds of discord, i hope we're all
still friends.

-daniel

On Jan 8, 12:42 am, jdalton <[email protected]> wrote:
> @Daniel Donaldson
>
> Assuming the content of '.take li' is only text and you are working
> with an HTML (not XHTML) doc you could get away with:
>
>  $('.take li').click(function() {
>      // I avoided using innerText or textContent for simplicity
>      $('.place').append(this.innerHTML);
>  });
>
> If you're using at least jQuery 1.4.2 you might also look into using
> delegate().http://api.jquery.com/delegate/

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to