Robert Fritzsching wrote:
Quote:
div id="content"
noscript
p>Inhalt 1</p
p>Inhalt 2</p
/noscript
/div |
Wenn du das Script entfernst und dir einfach mal in Mozilla/Firefox im
DOM-Inspektor den Inhalt des noscript-Elementes anschaust, dann findest
du nur einen Kindsknoten, einen Textknoten, der dann als Text(!)-Inhalt
<p>Inhalt 1</p>
<p>Inhalt 2</p>
enthaelt. Warum das so ist, verstehe ich im Moment nicht, ich suche mal
in bugzilla.mozilla.org, ob sich da etwas findet.
Was du genau vorhast, habe ich auch nicht verstanden, aber so du
p-Elemente innerhalb des noscript-Elementes manipulieren willst, so wird
das wohl nicht funktionieren, in Mozilla's DOM ist da halt nur ein
Textknoten.
--
Martin Honnen
http://JavaScript.FAQTs.com/