turned out my code would not select by ID if there was another in on the input.
ID=”someotherid total” didn’t work
can anybody explain why?
Because “total” and “someotherid total” are not the same ID. If you need your code to select things with different IDs, use a
[data-attribute] selector instead.