Re: selection in form-field

From: Date: Fri, 21 Feb 2003 13:53:39 +0000
Subject: Re: selection in form-field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136497@lists.php.net to get a copy of this message
I think javascript would be your best option Michiel. "Michiel Van Heusden" <michiel@aemulatio.nl> schreef in bericht news:20030221095006.81871.qmail@pb1.pair.com... > 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 > >

« previous php.general (#136497) next »