I am trying to copy the current page URL in the text area on button click. Somehow I have tried but is not working. http://www.w3schools.com/code/tryit.asp?filename=FAF25LWI
When the button is clicked select the content of #url then copy it to the clipboard.
Paste: