Hello there,
I wonder if there's any chance to get the parent's ID of an html comment.
Let's say I have the following comment inside the DOM:
- <html>
- <body>
- <div id="the_container">
- <!--this is a comment-->
- </div>
- </body>
- </html>
And I would like to know where is it contained asking for it literally.
I have tried with :contains("<!--this is a comment-->") but contains doesn't seems to support comments.

$('#the_container')
Or at least the jquery object.
Can somebody point me to a possible solution??