TypeError: e.getAttribute is not a function (form not submitted) jenkins (Ubuntu 22.04)

Follow the steps outlined in these instructions about configuration form modernization that happened in Jenkins 2.277.1. If those instructions do not resolve the issue, then at the end of the instructions there is a list of the additional information that needs to be provided so that others can help.