Although we rarely want to pay any attention (programmatically) to the
comments in the html, I thought it would be cool to read them in jquery.

They are in the dom, obj.nodeType == COMMENT_NODE. But jquery just skips
over that node type.

I could imagine doing $('a').prevComments() or $('a').nextComments() or
$('a').Comments()

A plugin could drop down to simple dom navigation to get the info and then
return the text.

Has anyone done this? Does it sound useful to anyone?

--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to