I have some problems with looping and breaking.
I have an array n when i reach 10th element i have to do smth. For example:
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?