Get the copied content from clipboard using javascript

Madhu.B.Rokkam
Posted by Madhu.B.Rokkam under JavaScript category on | Points: 40 | Views : 1181
//Get the copied content from clipboard using javascript
function GetClipBoardContentUsingJavascript() {
var cbcontent = clipboardData.getData("Text");
if (cbcontent != null)
return cbcontent;
return "";
}

Comments or Responses

Login to post response