why can't write the number to it?
<pre><code>&lt;ul class="newsct"&gt;
  &lt;li&gt;&lt;span class="listnum"&gt;&lt;/span&gt;&lt;a href="#"&gt;test&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="listnum"&gt;&lt;/span&gt;&lt;a href="#"&gt;test&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="listnum"&gt;&lt;/span&gt;&lt;a href="#"&gt;test&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="listnum"&gt;&lt;/span&gt;&lt;a href="#"&gt;test&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="listnum"&gt;&lt;/span&gt;&lt;a href="#"&gt;test&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="listnum"&gt;&lt;/span&gt;&lt;a href="#"&gt;test&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="listnum"&gt;&lt;/span&gt;&lt;a href="#"&gt;test&lt;/a&gt;&lt;/li&gt;

&lt;/ul&gt;
</code></pre>

<p>i want to write 3,4,5,6,7 to <strong></strong> like this <code>&lt;span class="listnum"&gt;3&lt;/span&gt;</code></p>

<p>i using the following code,but it doesn't work.</p>

<pre><code>var len = $('.newsct li').length;
    for(var i=0;i&lt;len;i++){
 if(i&gt;=3){
        $('.newsct li .listnum').text()==i;
}
    }
</code></pre>

<p>thank you</p>
