Javascript Loop For Highest Value

Job ID: 33218650

Budget: $10 – $30 AUD

Existing $.each loop. I want to take the highest value returned and display it (if the value of the first column does not equal '3'. Current Code:

$.each(result2, function( index, value ) {

if(value[0]!=3){
$(".formd_0_1").html(value[4].msToHMS());
}
});
Related categories: PHP JavaScript HTML5 HTML jQuery / Prototype