aynaz aynaz - 1 year ago 107
Javascript Question

Create paste button with php

I want paste clipboard in many text fields so I want to create a paste button to paste anything in clipboard to a text field.

How can I create that??

Answer Source

You can't make a "paste" button PHP. When you say paste, I am assuming you are referring to pasting what is in the clipboard. However, this can be accomplished through JavaScript.

Here's a super nice resource on how to copy and paste in JavaScript:


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download