how to hidden parent element innertext in jquery : I want to hidden parent element of inner text without affect or changing the child element texts. Please suggest this.
 
      <div>
        test
        <span>span element</span>
        </div>

Jquery:
    

    var $value= $('div').children().remove().end().text();


