Development Blog With Code Updates : Developercast.com

July 28, 2008

Kae Verans’ Blog: innerHTML in php-dom

Filed under: Development — @ 12:13 pm

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.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress