text copied from window to another window
Posted: Fri Feb 27, 2009 11:43 pm
Hi guys
I have a page which will need visitor to clicks on a link to see sample text. Now I have problem on realizing idea on how to copy text from popup window and it automatically closes the popup window and the text copied will be paste to the main window.
Process: A user click on the link to bring the popup which will display all the sample text. Let's say on the popup page, user clicks on the button to copy the sample text. Javascript will copy the sample text to clipboard and automatically close the popup window. The text copied will be pasted inside the textarea in the main page
Appreciate you guys can provide support for this. Thanks
I have a page which will need visitor to clicks on a link to see sample text. Now I have problem on realizing idea on how to copy text from popup window and it automatically closes the popup window and the text copied will be paste to the main window.
Process: A user click on the link to bring the popup which will display all the sample text. Let's say on the popup page, user clicks on the button to copy the sample text. Javascript will copy the sample text to clipboard and automatically close the popup window. The text copied will be pasted inside the textarea in the main page
Appreciate you guys can provide support for this. Thanks