Javascript Loop For Highest Value
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());
}
});
$.each(result2, function( index, value ) {
if(value[0]!=3){
$(".formd_0_1").html(value[4].msToHMS());
}
});