charlotte49er
Programmer
I am trying to populate a select box with values beginning with the var minHt and increasing by 0.5 until I reach maxHt. So the select box would list 25, 25.5, 26, etc. Here is the code snippet I have tried below but when I attempt to run it the browsers hang. Any suggestions are greatly appreciated.
Code:
for (i = minHt; i <= maxHt; i+0.5) {
elevContent += '<option>' + i;
}