Javascript Loop Restrict to only 1
<p>I am using:</p>

<pre><code>$.each(data.mydata, function(index, value){
  output += '&lt;li&gt;'+value.title+'&lt;/li&gt;';
}
</code></pre>

<p>I need to test something and only want the loop to get 1 off the list.</p>

<p>Is there any simple way to do this?</p>
