This is a very strange thing.
On the front-end page, use ajax to request the asp.net background code, get a piece of HTML code, and then display the HTML code as the innerHTML of a Label in the webpage. This is my consistent practice of using ajax, it has never been inappropriate. There was no problem in IE testing, but it was strange to test it in Firefox later. The HTML code loaded through ajax contains some controls, such as text, select, and radio, some of the following controls do not always have the focus. When you click the text, select, or other controls at the end to prepare the input information, the input focus is like magic. When you release the mouse, you move the focus to the first control.
This problem also plagued me for two days. Later, when I was eating, I suddenly thought, is it not a label nesting non-standard problem? Cannot the label be nested with a div? Later, I changed the label on the webpage that accepted the HTML code into a div, so there would be no problem !, The problem was solved when it was excited. Haha...
Therefore, we must take it as a precaution. The HTML tag in the webpage must be nested in a standard so that our webpage can have a stronger vitality .. Otherwise, debugging is difficult.