title: jQuery if something is more than value then hide and add a button to show whats hidden?
body: <p>Exactly what my title says is the problem Im having right now.</p>
  
  <p>Im checking a div for how many links php printed and if there is more than 10 Id like to hide them and add a button that says read more and then it show the rest of the links.</p>
  
  <pre><code>        $(document).ready(function() {
  
       var newsRss = $('#rssNews &gt;li').length;
       var driftRss = $('#rssDrift &gt;li').length;
  
          $(window).load(function() {
              if(newsRss &gt; 10)
       alert(newsRss);
  
  });
  
      });
  </code></pre>
  
  <p>this is how far I got with the code. </p>
  
  <p>Ill be happy to hear every tip and trick you guys can help me with!</p>
  
  <p>Best Regards,</p>
  
  <p>Charlie</p>