I have an HTML form that looks something like this:
<td><input type='checkbox' id='a[] '><input type='text' id='b[]'></td>
<td><input type='checkbox' id='a[] '><input type='text' id='b[]'></td>
Within a jQuery function I would like to enable / disable the associated input text input - b when the checkbox is clicked.
I am unsure how I can reference each field individually within a jQuery .click() function when using an array.
Any help would be much appreciated!