Hello James, thanks for your reply: it works just fine !!! Have a nice day!
Sig On May 27, 6:16 pm, James <james.gp....@gmail.com> wrote: > Sure can: > $("[id^=drop_]").change(...); > > http://docs.jquery.com/Selectors > > On May 27, 3:11 pm, macsig <sigbac...@gmail.com> wrote: > > > 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.