javascript uses zero based arrays so the index of select options begins at 0 not one, therefore index[31] is past the end of the array.
or use .... selectedIndex.Value = 31
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
== is the equality operator in javascript. A single = is the assignment operator.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?