Click here to Skip to main content
       

JavaScript

 
AnswerRe: project question PinmemberJ4amieC17-Jan-13 0:09 
QuestionAbout mobile web debugger Pinmembertidelgl13-Jan-13 19:18 
QuestionRegular Expression PinmemberAB777111-Jan-13 4:10 
AnswerRe: Regular Expression Pinmembervinodkumarnie18-Jan-13 21:44 
AnswerRe: Regular Expression PinprotectorAspDotNetDev24-Jan-13 14:09 
QuestionHow to put clipboard data into TextBox PinmemberRavindra Bisen10-Jan-13 0:02 
AnswerRe: How to put clipboard data into TextBox PinmemberJ4amieC10-Jan-13 2:39 
AnswerRe: How to put clipboard data into TextBox PinmemberRavindra Bisen14-Jan-13 21:50 
<html>
<head>
<title>Java Script - Capita Learning : ClipBoard Data </title>
 
<script type="text/javascript" >
 
    function afterPaste(txt)
    {
      var T = window.clipboardData.getData('Text');
      document.getElementById('Txt_Data2').value = T;
      document.getElementById("Txt_Data3").value = T;
       var len = T.length;
       var n = T.indexOf(" ");
        document.getElementById("Txt_Data2").value = T.substring(0,n);
        T = T.substring(n+1,len);
        len = T.length;
    n = T.indexOf(" ");
        document.getElementById("Txt_Data3").value = T.substring(0,n);
    document.getElementById("Txt_Data4").value = T.substring(n+1,len);
 
    }
 

 
 </script>
</Head>
<body>
<p> On Paste event in java script
<p> <Input Type="Textbox" ID="Txt_Data" OnPaste="afterPaste(this.value)" >
<p> <Input Type="Textbox" ID="Txt_Data2" Name="Txt_Data2" >
<p> <Input Type="Textbox" ID="Txt_Data3" Name="Txt_Data3" >
<p> <Input Type="Textbox" ID="Txt_Data4" Name="Txt_Data4" >
 
</body>
</html>

GeneralRe: How to put clipboard data into TextBox Pinmemberitzzmearun29-Jan-13 20:18 
GeneralRe: How to put clipboard data into TextBox PinmentorDaveAuld31-Jan-13 2:56 
QuestionjQuery: live() function PinmemberPhanindra2619-Jan-13 0:27 
AnswerRe: jQuery: live() function PinmemberJ4amieC9-Jan-13 0:39 
QuestionGoogle+ login on my website Pinmembermarcbase8-Jan-13 11:16 
AnswerRe: Google+ login on my website PinmvpSandeep Mewara8-Jan-13 17:45 
QuestionQuestion Pinmembernth926-Jan-13 6:25 
AnswerRe: Question PinmvpRichard MacCutchan6-Jan-13 6:32 
AnswerRe: Question Pinmember ProgramFOX6-Jan-13 7:13 
AnswerRe: Question PinmemberJ4amieC8-Jan-13 0:52 
AnswerRe: Question PinmentorKeith Barrow8-Jan-13 1:30 
QuestionSharepoint - Aggregate lists with JavaScript Pinmembergarfield1853-Jan-13 3:38 
QuestionBrowser Back Button Pinmembertiger1463-Jan-13 1:58 
AnswerRe: Browser Back Button PinmentorKeith Barrow3-Jan-13 3:03 
GeneralRe: Browser Back Button Pinmembertiger1467-Jan-13 23:19 
GeneralRe: Browser Back Button PinmentorKeith Barrow8-Jan-13 1:41 
AnswerRe: Browser Back Button PinmvpSandeep Mewara4-Jan-13 2:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140814.1 | Last Updated 16 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid