Amit Sarwara Amit Sarwara - 2 years ago 66
jQuery Question

Fire Jquery event when i change one of the 10 select lists

I have

number of select lists.
is dynamic ( depends on the condition and range of n is 1-30). I want to run a jQuery function with
event. Please tell me how can I do that.

Answer Source

assign same class to all your select lists, say "demo", and use on change event handler:'

$(document).on('change', '.demo', function() {
    //your code here
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download