Hi,
heute dachte ich daran, mittels JavaScript ein Kindelement für ein
<img>
zu erzeugen (nur interessehalber - ob sowas überhaupt geht). Laut Spezifikation kann ein solches Element keine Kindelemente haben... aber warum hat dann das zugehörige Element die appendChild-Methode?
Weil es das Node-Interface implementiert.
MfG ChrisB
--
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?