Loading

Add new comment

Anonymous
Copy Paste from excel to Web browser text box

Ashwin,

Use the below javascript code for copyig excel clipboard data to webbrowser.
- First copy some data from excl in clipboard.
- onbuttonclick even of html page call below javascript.

function pasteGrid()
{
var chkTable = window.clipboardData.getData("Text");
if(chkTable != null)
{
alert(chkTable);
}

once you get alert, you can split data by using below coomand
var data = window.clipboardData.getData("Text").split("\n");

....

I hope it will help you.

- Santosh
mansukh_santosh@yahoo.com

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.