Event-driven JScript face icon programming (example)

xiaoxiao2021-03-06  34

After finishing the event-driven JScript facing icon programming. Let's take a look at a specific example: If we want to make an editable label on the web. Normal feelings are like a general text. When you click on it with a mouse, turn into a input box and edit the text. Then when it loses the focus, it is restored to normal text. The example of running is as follows: Click on the text.