$('.contenttitle>h1>a, .item>a'). click(.....)
On May 26, 8:06 am, heohni <heidi.anselstet...@consultingteam.de> 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!