title: The function 'has' is not working on loaded data using jQuery
body: <p>I am using the function <code>has()</code> for checking if a <code>li</code> tag has <code>ul</code> inside. If a <code>ul</code> tag is in <code>li</code> I will add some CSS properties, My code works well when the <code>li</code> tags are created while rendering the page but when I use Ajax and <code>$.each()</code> for creating these <code>li</code> items the <code>has()</code> does not work.</p>
  
  <p>The jquery code is:</p>
  
  <pre><code>$('.innerItems li ul li').has('ul').css({'background-image':'url(images/arrow.png)',
                                           'background-position':'2px center',
                                           'background-repeat':'no-repeat'}); 
  </code></pre>