I was adding something to your post - quoting your message and replying to the topic. This is a group conversation, not a personal e- mail so it's not hard to assume that "you" refers to the OP. I usually just hit the last "Reply" link, as my answer will probably be in context with what others have already said.
I'll keep this in mind in the future anyway, sorry for the incovenience. cheers, - ricardo On Apr 1, 12:59 am, RobG <rg...@iinet.net.au> wrote: > On Apr 1, 10:03 am, Ricardo <ricardob...@gmail.com> wrote: > > > Or access the id property directly: > > > $("#row33").click( function(e) { > > if( e.target.id == "innerX") { > > That is certainly more efficient and less problematic than using attr > (), but not a very good strategy. > > I think you mean to reply to the OP, not me. > > > ; // do inner link things > > } else { > > ; // do outer click things > > } > > > }); > > > You can also stop propagation to isolate the inner click: > > Which is what I said and is likely the better strategy here as it > removes the need to hard-code the ID of the link in the outer listener > and removes any coupling between the two listeners. > > Please post in response the post you are actually replying to (i.e. > the OP). > > -- > Rob