Highlight smallest value in green and highest value in red
Dear all ,
My form has 5 fields (field #1 - field #5) with numbers (prices). Is there any javascript, with which I can identify the lowest price (automatically highlighted in green color and the highest in red color? Important if one field value is empty = 0, than 0 should be not considered as number.
In addition the script should populate the lowest vaue in field #6, the average value in field #7 and the highest field value in field #8.
I would be greatfull for any ideas and comments.
BR
Florian
