Forum Moderators: open
this is generated by php server side code. but on the client side, change() has to be able to know WHICH menu was changed? any ideas? really appreciate it.
WHICH menu was changed?
It all depends on what you want to do with the information. Using
this in the event handler is the best start, and may be all you need. It will pass in a reference to the element itself. If you need some more information, you could do a little analysis to find out the index of the element in the collection, or you could identify each select with a different id attribute.