Re: Flexy: readonly attribute

From: Date: Wed, 10 Dec 2003 02:41:52 +0000
Subject: Re: Flexy: readonly attribute
References: 1  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-9440@lists.php.net to get a copy of this message
try $element->setAttributes('readonly',true); or $element->attributes['readonly'] = true; Regards Alan Giorgio Gorla wrote:
What is the correct way to set dinamically readonly attribute in input tag? I try to set it usind $element->setAttributes('readonly'), but I obtain unuseful <input ... readonly="readonly">. Thanx, J
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.general (#9440) next »