[jQuery] monitoring multiple elements
Hello all,
I create dynamically some drop-down menus, all of them have an id =
"drop_N" where N is a progressive.
So If I have 3 (this number can change at every request) menus their
ids are "drop_1", "drop_2", and "drop_3"
Is there a way to monitor all of them with a single function? I mean
something like
$("#drop_ ...").change(function () {
...
})
Can I use a regular expression? If so How?
Thanks for your help and have a nice day.