Re: htmlarea element update

From: Date: Thu, 15 Apr 2004 06:55:39 +0000
Subject: Re: htmlarea element update
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-27675@lists.php.net to get a copy of this message
Hi! Jan Wagner wrote:
the example file, where I have two htmlareas now, works without any errors with it, but of course it would be nice to include it only once. But actually, I don't have any idea how to determine inside the element if there already was another element. Maybe Bertrand can tell something.
Look how hierselect and autocomplete handle this. Basically they define a constant when the common JS is output and if this constant is present, they don't output anything.

« previous php.pear.dev (#27675) next »