awebb
06-27-2003, 05:49 AM
I have a variable which is making an array out of the <option> string in a <select>.
it is:var selectedMonthArray=selection.split(','); (it works fine)
Is it possible to make another array out of the next element in the <select>, ie one that has not been selected but is the next one in the list?
I've tried var selectedMonthArray2=selection+1.split(','); with no result (don't laugh too loud).
Any ideas?
it is:var selectedMonthArray=selection.split(','); (it works fine)
Is it possible to make another array out of the next element in the <select>, ie one that has not been selected but is the next one in the list?
I've tried var selectedMonthArray2=selection+1.split(','); with no result (don't laugh too loud).
Any ideas?