I have a array of input fields I need to select for a jQuery change event.
<input id="LandDescriptionItems_0__Acres" name="LandDescriptionItems[0].Acres" ...
<input id="LandDescriptionItems_1__Acres" name="LandDescriptionItems[1].Acres" ...
<input id="LandDescriptionItems_2__Acres" name="LandDescriptionItems[2].Acres" ...
etc
Currently there are 11 of these elements. I need to wire up a jQuery change() event so I can get a sum of them any time one gets changed. Something like:
_$form.find('#LandDescriptionItems_0__Acres').change(function(e) {
e.preventDefault();
...
});
It's really just the selector I'm stumped on. Is it as simple as using wildcards? Or is there a better way?