note 108011 deleted from domdocument.getelementbyid by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 17:58:22 +0000 |
| Subject: | note 108011 deleted from domdocument.getelementbyid by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187695@lists.php.net to get a copy of this message | ||
Note Submitter: cristian dot gohl at live dot com
----
Hello, I imported html and it worked ok.
$test = $dom->getElementById('ID');
return $testes->nodeValue; // OK, span tag.
This html have js script.
Eg. var IDID = {..}
I tried get this element, but only return null.