onPaste in PHP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Is their a way of using then command 'onPaste' and 'onDragLeave' or an
alternative in PHP.
Needed to paste a selected text in a textarea and after paste executing a
PHP script without to use a submit button.

like with javascript: <body onload="init()" onDragEnter="setupDrag()"
onDragLeave="handleDrop()" onBeforePaste="handleBeforePaste()"
onPaste="handlePaste()" >


Re: onPaste in PHP

AP wrote:
Quoted text here. Click to load it

Nope, because these are client-side events. PHP only cares about the data
received from the client by (form) submission...


Site Timeline