Client side issue. Use javascript or DHTML. ---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ > -----Original Message----- > From: Michiel van Heusden [mailto:[EMAIL PROTECTED] > Sent: Friday, February 21, 2003 4:47 AM > To: [EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php