How to do it in one insert CTRL + v? And as simple as possible :) I hope the video will clarify what I want

Closed due to the fact that the essence of the question is not clear to the participants by mymedia , Stranger in the Q , Rostyslav Kuzmovych , 0xdb , aleksandr barakin on March 16 at 0:27 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    it is possible to hang up onpaste event handler on one input. this event will work when cntl + v on input

    $("input").bind('paste', function (event) { var $this = $(this); setTimeout(function(){ alert($this.val()); //вставленное значение, теперь его можно добавить в другие инпуты },0); }); 
    • Thank you, Sergey. And how will the handler get the data from the clipboard? - Taypfoon 9:39 pm
    • Hmm, I didn’t think about it) I’ll add an answer now - Sergey Konovalov
    • rewrote the answer, I hope this is what you need - Sergey Konovalov
    • Thank you, Sergey. You helped me a lot. Grateful. - Taypfoon pm