Hi,
I have a
jsp application where i write data into a html page as it is using <table> . This data is not in a text area or text box. Below is the code.
<tr bgcolor="#FFFFFF">
<div align="Left">
<font face='verdana' size="-1">
<b>
1000 , ABCD ,
</b>
</font>
</div>
</tr>
<tr bgcolor="#FFFFFF">
<div align="Left">
<font face='verdana' size="-1">
<b>
2000 , ABCDE ,
</b>
</font>
</div>
</tr>
The output is shown below.
1000 , ABCD ,
2000 , ABCDE ,
I need to have a button which can select all the above data and copy it to a clipboard which can be pasted in a text file or excel file.
I am not able to select all the data but I am able to copy selected data into a clipboard.
Please help.
Thank you.
Ramesh