[jQuery] Accessing comment node
[jQuery] Accessing comment node
Is there a way to access the comment in this snippet of HTML with
jQuery?
<div id="divs">
<div>1</div>
<!-- 2 -->
<div>3</div>
</div>
Short of doing some RegEx I can't work out a way.
Thanks.
Adrian
Topic Participants
adelynch