JavaScript

모달창에서 execCommand('copy') 실행 안 될 때

SunPark 2020. 12. 10. 15:37
var text = document.getElementById('input-copy');
text.select();
text.focus();

document.execCommand('copy');

 

반응형