Re: selection in form-field
| From: | Awlad Hussain | Date: | Fri, 21 Feb 2003 10:23:53 +0000 |
| Subject: | Re: selection in form-field | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136477@lists.php.net to get a copy of this message | ||
PHP is a server side language, you need a DHTML web based editor..
try this exellent FREE editor
http://www.interactivetools.com/products/htmlarea/
----- Original Message -----
From: "Michiel van Heusden" <michiel@aemulatio.nl>
To: <php-general@lists.php.net>
Sent: Friday, February 21, 2003 9:46 AM
Subject: [PHP] selection in form-field
> i have quite an easy question:
>
> is there a way in PHP to trace the selection in a certain form-field?
> i need this for building a simple html-edit application,
> which allows a user to select his/her text within a field, and then click
> 'bold' for instance..the PHP should insert <b> before the selection, and
> </b> after the selection.
>
> 1) should i use PHP or is this a typical JavaScript-thing? (or a
> combination?)
> 2) if you could help with a function or small script I would me most
> grateful
>
> grace
> michiel
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>