[jQuery] Re: 2 links = 1 action

2009-05-26 Thread MorningZ
$('.contenttitleh1a, .itema'). click(.) On May 26, 8:06 am, heohni heidi.anselstet...@consultingteam.de wrote: Hi! currently I have this: $('.contenttitleh1a').click(function() { ... Is there a way to say $('.contenttitleh1a'). or $('.itema'). click(function() { .? It's just

[jQuery] Re: 2 links = 1 action

2009-05-26 Thread Charlie
$('.contenttitleh1a, .itema').click(function() { ... heohni wrote: Hi! currently I have this: $('.contenttitleh1a').click(function() { ... Is there a way to say $('.contenttitleh1a'). or $('.itema'). click(function() { .? It's just that I have 2 different links to click but