Home >Web Front-end >JS Tutorial >ExtJs event mechanism basic code model and process analysis_extjs
The purpose of code implementation: trigger an event when using a certain attribute of a custom class.
The effect of this program: Click the input button, and a script prompt input box will pop up for the user to enter his name. After confirmation, the name entered by the user will be displayed in the name text box of the page, and the page title will become consistent with the name. , and then a script prompt input box will pop up for the user to enter their gender. After the input is completed and OK is clicked, the gender entered by the user will be displayed in the gender text box on the page.