There is an input type="text" . It cannot be changed - the attribute is disabled . Next is a button to copy it. How to copy from this input to the clipboard? I tried different options - ZeroClipboard and different options that I found on the Internet, but they only work if the disabled attribute is removed.

  • 2
    It is possible instead of disabled, readonly to try. - ModaL
  • @ModaL Thanks, it worked. - Tsyklop
  • @ModaL write as an answer, a good question - Vasily Barbashev

0