Re: DOM Bug?
- From: "AlmostBob" <anonymous1@xxxxxxxxxxxxx>
- Date: Fri, 18 Apr 2008 17:24:42 GMT
<textarea style="BACKGROUND: fixed no-repeat #f5f5f5 url(foobar);">
</textarea>
might work
--
Adaware http://www.lavasoft.de
spybot http://security.kolla.de
AVG free antivirus http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor/newsinfo/collateral.aspx?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use
Grateful thanks to the authors and webmasters
_
"motion musso: aka sathia" <sathia.musso@xxxxxxxxx> wrote in message
news:074Oj.292512$%k.403029@xxxxxxxxxxxxxxxxxxxxx
Hello
Reproduce code:
---------------
Html:
this textarea has inside it a reference to an external image
[...]
<textarea><img src="foobar" /></textarea>
[...]
Php:
$documentx = new DOMDocument();
$documentx->loadHTML($data);
$textareas = $documentx->getElementsByTagName("textarea");
foreach($textareas AS $textarea){
print($textarea->getAttribute("value"));
print($textarea->textContent);
}
I know there's no "value" attribute in the textarea, but if the content of
said textarea is wrapped in < and > there's no way to read it.
ideas?
--
e ziocan
.
- Follow-Ups:
- Re: DOM Bug?
- From: motion musso: aka sathia
- Re: DOM Bug?
- References:
- DOM Bug?
- From: motion musso: aka sathia
- DOM Bug?
- Prev by Date: DOM Bug?
- Next by Date: Re: DOM Bug?
- Previous by thread: DOM Bug?
- Next by thread: Re: DOM Bug?
- Index(es):
Relevant Pages
|