$('.contenttitle>h1>a, .item>a').click(function() { ... heohni wrote: Hi! currently I have this:$('.contenttitle>h1>a').click(function() { ... Is there a way to say $('.contenttitle>h1>a'). or $('.item>a'). click(function() { .....? It's just that I have 2 different links to click but behind the same action... Thanks! |
- [jQuery] 2 links => 1 action heohni
- [jQuery] Re: 2 links => 1 action MorningZ
- [jQuery] Re: 2 links => 1 action Charlie