i am looking to show a message if a div have no child element after my function done. iam using a function here for search option which is for showing the div child element which have match with the search box text. 1. my requrement is i need to show a message if there is no matching with search box text and div child element.
i try some code that is here

```
$('#searchtool').click(function(){

   var valThis = $(this).val().toLowerCase();
    if(valThis == ""){
        $('.rightSidIcons> div').show();
    } else {
        $('.rightSidIcons> div').each(function(){
            var text = $(this).text().toLowerCase();

            (text.indexOf(valThis) >= 0) ? $(this).show() : $(this).hide();

         });

    }
     if($(".rightSidIcons").children().length == 0){
                $(".rightSidIcons").text("this item not found")
          }
      });

 <div class="searchBox  downbox"><input id="searchtool" name="" type="text" class="searchboxCss">
                </div>
<div class="rightSidIcons">
<div>manu</div>
<div>anu</div>
<div>sanu</div>
<div>janu</div>
<div>meenu</div>

<div>shinu</div>
<div>mansey</div>
<div>anusree</div>

</div>

```