Hi @Quynh-Tram - The primary issue is a fundamental shift in how the User Interface (UI) is managed, moving from Imperative (jQuery/Knack Classic) to Declarative (React/Next Gen) programming.
In Classic, jQuery code directly modifies the Actual DOM, but the new Next Gen environment uses a Virtual DOM. React is designed to manage all structural updates efficiently through this Virtual DOM, and when your old jQuery code tries to make direct changes to the Actual DOM.
So, unfortunately the JavaScript code you use in Classic won’t work in Next Gen: