Hello R.G., Wednesday, March 17, 2004, 9:18:53 PM, you wrote:
RGV> Is it possible to change selected text in a textarea without using java and RGV> only php or html. RGV> There are lots of solutions in a javascript but i would like to try it RGV> without. If it is possible to place the in a textarea selected text in the RGV> return of a function i like to believe is can be done. So how kan i put RGV> selected text in a string. Erm, your post doesn't make a great deal of sense - but just to clarify, no you cannot modify the contents of a live textarea from a PHP function for the simple reason that what you want is a CLIENT-SIDE change and PHP is 100% SERVER-SIDE. Try using a JavaScript function to modify a live textarea field. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php