Connecting Tech Pros Worldwide Help | Site Map

onPaste in PHP

  #1  
Old July 17th, 2005, 09:40 AM
AP
Guest
 
Posts: n/a
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


  #2  
Old July 17th, 2005, 09:40 AM
Janwillem Borleffs
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Script error when browse the mozilla, uncaught error() svsenthilkumar answers 3 March 3rd, 2008 02:05 PM
Forcing the user to type Shelly answers 18 December 28th, 2005 01:35 PM