
sasbtcpp - 2011-12-29 21:50:50
Hello
How can we send a class name with spaces?
As you can see bellow, my class name is "data up" and the getElementsByClassName function can't use names which have spaces!
$document=& $HTML->getDocument();
$h= $document->body->getElementsByClassName("data up");
$h=& $h->get(0);
$s= $h->getInnerHTML();
Thanks.