For jQuery objects you can also use the "indexOf()" function:
http://docs.jquery.com/Core#index.28_subject_.29 Karl Rudd On 4/16/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
I was going to write a similar function for some code when I noticed that $.inArray() function already exists. This appears to be undocumented, but before relying on it for my plug-in, I want to make sure it is actually "supported". Are there plans to remove this method? -Dan