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