I have write javascript to select the table but I want to now automaticaly copy it after the click of the button.Please help me.My javascript is like this.
by using clicpboard.js making it much easier.
for more info, check: https://webdesign.tutsplus.com/tutorials/copy-to-clipboard-made-easy-with-clipboardjs--cms-25086