how to read only first line of a file
<p>Using <code>.get()</code> is it possible to read only the first line of a .txt file?</p>

<p>something like:</p>

<pre><code>jQuery.get('file.txt', function(data) {
   alert(data);
   //process text file line by line
   $('#div').html(data.replace('\n','&lt;br&gt;'));
});
</code></pre>

<p>but read only the first line?</p>

<p>Any other suggestion?</p>
