I was looking for a way to add max/min functions to JavaScript's Array class, which seemed to be a solved problem: JavaScript: min & max Array values?. However, when I ...
I'm using the following code which works perfectly, until you select 11 in the dropdown and it seems to reset.
My updated JSFiddle: http://jsfiddle.net/mcgarriers/rVPnu/2/
Is there an obvious reason for this?
HTML