combobox component
1. Disable the input box in combobox
2. Disabled
3. Get option text and value
4. Focus automatically expands, press Enter to do someting
//do someting
}
});
});
2. When the pop-up layer pops up, the first button has focus by default. Press the Enter key to execute the corresponding function and then close it. However, it is not available after using webbrowser to display it in the cs program.
So we have the following method to monitor the body keyup event. The difference is that the click event can be triggered whether the button has focus or not, which is more like a modal window. (This method will close if you press Enter in the pop-up window, which is not advisable)
Note: I saw many netizens writing related articles and also used it. I felt like I was on a pirate ship. It was so slow. When the page is loading, it is completely white for about two seconds (it is just a reference to the library file), so the performance should be okay for so many people. I hope Daniel can give me some advice.