Hello. Damn i'm so silly, i looked over the website and i totally didnt see that. Thanks a lot for pointing it Best Regards
On Thu, Jul 2, 2009 at 2:17 PM, Charlie <[email protected]> wrote: > http://docs.jquery.com/Selectors > > look at the last item in "Basics" , "Selector1,Selector2...." and click on > it to see the example > > getting familiar with the jquery website categories of "selectors, > traversing, manipulation etc " is probably the #1 best tool for learning > jquery. > > Alexandru Adrian Dinulescu wrote: > > Hello. > > I am trying to do something like this > $(element1 || element2).click(function(){}) > > unfortunately this does not work, both element1 and element2 work > independently but not together and i have no clue how to get them to work > together. > > Basically what i need that either when element1 is clicked, OR element2 is > clicked, do identical thing. > > I know this is a very simple issue, but i havent learned Javascript at all, > i've started with jQuery. > > Thank you > > >

