A general rule for input elements in Javascript is that only user operations will trigger the corresponding events of various elements of the input class. Instead, use the corresponding methods of javascript to simulate user operations, and the corresponding events will not be triggered.
For example, for the following form:
When the user calls the click() method of b0 to simulate When the user clicks button 0, the button's onClick event will not be triggered, so the corresponding event handler will not be executed. Only when the user actually clicks the button will the event be triggered and the event handler function executed.
Another: When a set of data of input elements with the same name is submitted to the server, the data format is: name=value, value,...