JQuery get first item .click

jamesdean666
jamesdean666 used Ask the Experts™
on
I have the following code in my site:

$(".documentor").live("click", function () {
     -- more code here
}):

When this occurs, there could potentially be several items returned.  How can I get the first item only?  Is there way to get the index of 0 for example?

Much Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Expert
Top Expert 2009
Commented:
No. Only one item can be clicked

Author

Commented:
Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial