By sibling tags, you mean that they are at the same level as the form, for example:
<form id="the-form"> ... </form> <h5>Title 1</h5> <h5>Title 2</h5> <h5>Title 3</h5>
If this is correct, you can do something like:
$("#the-form ~ h5").each(function (){
Pay attention to the ~ symbol, which selects brothers and sisters.
Or, if you prefer to send text to the callback:
function callback( textFound ){
source share