Connecting Tech Pros Worldwide Help | Site Map

onPaste in PHP

AP
Guest
 
Posts: n/a
#1: Jul 17 '05
LS,

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()" >

br,
Albert


Janwillem Borleffs
Guest
 
Posts: n/a
#2: Jul 17 '05

re: onPaste in PHP


AP wrote:[color=blue]
> 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()" >
>[/color]

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


JW



Closed Thread