By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,825 Members | 1,388 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,825 IT Pros & Developers. It's quick & easy.

onPaste in PHP

P: n/a
AP
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
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
AP wrote:
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()" >


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

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.