
Cẩm - 2010-11-26 03:35:15
I have some questions about your class.
After I use getElementsBySelector, I have HTMLCollection
How to get the innerHTML of all the element in collection.
I've used
$col=& $document->getElementsBySelector("#Mod122 a:first-child");
foreach($col as $key=>$value){
echo $value->getInnerHTML();
}
But nothing happen.