find sequence of numbers in array and alert highest number
<p>I have an array that looks like this:</p>

<pre><code>[1,2,3,4,5,6,8,10,12,13,14,15,20,21,22,23,24,25,26,27,28,29,30]
</code></pre>

<p>the highest count on one of the found sequences would be: 10</p>

<p>My goal is to loop through the array and identify the sequences of numbers, then find the length of the highest sequence that exists.</p>

<p>So, based on the array above, the length of the longest sequence would be "10"</p>

<p>Does anyone know of quick and easy script to find this?</p>

<p>I've got jquery available</p>
