I have a page with different selects (they have no class, no id).
They are in different divs and different sections of the page (they are not under the same parent).
(These are events on a calendar, each one has different options using selects).
I need to know how to get the index (or number) of the clicked select each time someone clicks on one.
so far I have:
var nodes = document.getElementsByTagName('select');
var me = nodes.indexOf( $(this) );
but it always returns 1..