RE: [PHP] DOM Element default ID attribute
| From: | Peter Lauri | Date: | Thu, 22 Feb 2007 05:20:46 +0000 |
| Subject: | RE: [PHP] DOM Element default ID attribute | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249209@lists.php.net to get a copy of this message | ||
This was not clear for me, do you mean:
<a peter> => <a id="peter">
Best regards,
Peter Lauri
www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free
-----Original Message-----
From: Eli [mailto:eli.hen@gmail.com]
Sent: Thursday, February 22, 2007 12:42 AM
To: php-general@lists.php.net
Subject: [PHP] DOM Element default ID attribute
Hi,
I want to declare a default ID attribute to all elements in the document.
For example: If an element got the attribute 'id' then I want it
automatically to become the ID attribute of the element.
How can I do that?
-thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php