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

Background:
We have environment where jenkins version 2.231 in installed on CentOS 6.8 Azure VM. We want to migrate existing jenkins setup on Ubuntu 22.04 Azure VM.

What we did so far:
-We have implemented new VM with Ubuntu 22.04
-Installed openjdk version “17.0.12” 2024-07-16
-Installed Jenkins version 2.462.1 and configured with same folders from CentOS.
-Updated all plugins
-Removed deprecated plugins
Jenkins UI is up & running and all build jobs are visible.

Issue:
-When we are saving any build configuration, it is giving error TypeError: e.getAttribute is not a function (form not submitted)

TypeError: e.getAttribute is not a function
at findFormParent (hudson-behavior.js:2401:18)
at findNearBy (hudson-behavior.js:359:15)
at hudson-behavior.js:1873:17
at hudson-behavior.js:48:7
at Array.forEach ()
at refillOnChange (hudson-behavior.js:1871:18)
at select.js:163:3
at Array.forEach ()
at behavior.js:135:22
at Array.forEach ()

So experts, If any solution please advice.

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.