I'm not sure if I understand your question but try
Code:
<h2 class="nodisplay" title="Chapter title here">Chapter title here</h2>
and in your CSS file put
Code:
.nodisplay {
display: none;
}
The stuff between the quotes for title= gets picked up the the table of contents generator (overrides what's between the begin and end tags), if I remember correctly.