Is there a better way to do this other than:
<option value="2">2</option>
<option value="3">3</option>
.
.
.
.
<option value="2000">2000</option>
Rick
yes using JScript !
var select = document.getElementById(selectTag);
for (var i = 1; i <= 2000; ++i){
var option = document.createElement("OPTION");
option.text = "" + i;
option.value = i;
select.add(option, null);
}
but do you really think that such select item will be usable ??
do your users will actually accept to scroll thru such list ?
Sylvain.