Copy selected item's text from select control html

后端 未结 4 1228
说谎
说谎 2021-01-17 05:11

I have a select control with pre defined values and I want my users to be able to copy the selected item\'s text with CTRL + C

I don\'t want them to be able to chang

4条回答
  •  梦毁少年i
    2021-01-17 05:34

    It is not possible to achieve in modern browsers without Flash due to security restrains. You can check this site to review the options for jQuery: http://www.jquery4u.com/plugins/jquery-copy-clipboard-4-options/

提交回复
热议问题