grazie dei consigli,
sono stati veramente molto utili
alla fine ho preferito visualizzare un bordo
ecco il codice che ho usato

funziona bene e per ora va bene cosi

codice:
$(document).ready(function(){


$('#searchfor').keyup(function() {


    $('div').css('border', 'none');  //reset all of the spans to no border
	$('.sub').addClass('starthidden');
	$('.risposta').addClass('starthidden');
	
		
    var find = $('#searchfor').val();   //where txtFind is a simple text input for your search value


    if (find !="") {
        $('.risposta:contains(' + find + ')').each(function () {
            $(this).css('border', 'solid 2px red').show();    //mark the content risposta
		    $(this).parent().show();
        });
		$('.ask:contains(' + find + ')').each(function () {
            $(this).css('border', 'solid 2px red').show();    //mark the content in ask		   
        });
     }
});
   
  
  
});