In a div there are these check boxes(name="val1") and after a certain operation these check boxes are removed
<div name="navigation_b">
    <label id="selectall">
        select all 
        <input type="checkbox" name="selectall" />
    </label>
    <input type="checkbox" name="val1" />   
    <input type="checkbox" name="val1" />   
    <input type="checkbox" name="val1" />   
    <input type="checkbox" name="val1" />   
    <input type="checkbox" name="val1" />   
</div>
If all the checkboxes(name =val1) are removed then the selectall should not be visible.How to do this using jquery