Compare .not() and .has()
Reloading/Refresh Page with jQuery
li:not(.x1)   Refresh   li:has(.x2)  
Div1 : not()

 

Div2 :has