How do you make this work? <select id="sel[]">, which is an array of all the dropdown boxes.But if I change $('#sel').change(function() { to $('#sel[]').change(function() {, it does not work?
How do you make this work? <select id=sel[]> , which is an array of
Share
You can escape the square brackets by two back slashes
\\.Demo
But ideally you should not use such conventions for naming ids.