3
Как вставить html после <!-- example comment -->
в главный документ. Например, я хочу добавить css в раздел главы с jquery после определенного тега комментария.jQuery insert html после комментария тег
$('<link>', {
rel: 'stylesheet',
href: url
}).appendTo($("<!-- Related css to this page -->"));
http://stackoverflow.com/questions/1623734/selecting-html-comments-with-jquery – mplungjan