I am trying to run a function in javascript when some fields change. I have two function but I am taking the actual functions out of the equation. I simply cannot get forms to recognize when the first field in a table is changed and I don't understand why. I am following the jQuery selectors listed in the help file here.
Inside my document ready I have this:
When I change field 14 I get my alert in Chrome:
When I change the first row of the table I get no alert.
Here is a shot of part of the table
So 35 is the field I want. I have confirmed through inspection tools that its correct. Note the table is hardcoded to 1 row - I just want the fields all side by side so there will not be multiple rows of things.
Am I missing something with the selector? I have tried various other ways, tried (0) instead of (1) and I cant get the form to recognize the change. Any ideas?
Thanks,
Chris