Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q1515 Is there a way to access a document's html comments that is <!-- example -->?

irt.org | Knowledge Base | DHTML | Q1515 [ previous next ]

Q1515 Is there a way to access a document's html comments that is <!-- example -->?

Currently only in Internet Explorer:

<div onClick="alert(this.innerHTML)">Hello <br><!-- comment --> And goodbye</div>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.