JavaScript content selection event (onselect)

Content selection event (onselect)


Select event, when the text in the text box or text field is selected, the onselect event is triggered. The program called at the same time will be executed.

In the following example, when text is selected, a warning dialog box for prohibiting assignment pops up

    php.cn  
个性介绍:


Continuing Learning
||
php.cn
个性介绍:
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!