News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Kae Verans' Blog:
innerHTML in php-dom
July 28, 2008 @ 11:13:16

Kae Verans has written up a handy snippet of code to try to mimic the innerHTML property that Javascript lets you have access to.

DOM does not officially have an innerHTML parameter, but it's incredibly useful. I found a need for something similar when working on some DOM stuff, so had to write a version.

Technically it's an "outerHTML" not inner, but it works about the same. The code and an example of its use is included.

0 comments voice your opinion now!
innrehtml outerhtml dom code snippet example



Similar Posts

Mikko Koppanen's Blog: ImagickPixelIterator is not read-only after all...

Smarx.com: PHP for Microsoft AJAX Library

Zend Developer Zone: Code is Beautiful

DeveloperTutorials.com: Simple System Maintenance with PHP-CLI

Sameer Borate's Blog: Finding if an array is ordered


Community Events









Don't see your event here?
Let us know!


example zend zendframework database release ajax code PEAR security job package releases book framework application conference mysql developer PHP5 cakephp

All content copyright, 2009 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework