search for: payoropt

Displaying 1 result from an estimated 1 matches for "payoropt".

Did you mean: paropt
2008 Mar 13
3
scrolling in a <select multiple="multiple"> list
...ptions list. After a new selection is made (which automatically de-selects the other options) I loop through the list and restore the selected attribute based on the settings saved in the array like this: $$(''#payorList option'').each(function(opt){ opt.selected = payorOptions[opt.index]; // payorOptions is the array }); An unintended consequence is that the select list is scrolled to the bottom as I iterate through each one, forcing the user to manually scroll back up to select another option. I''ve tried using Element.scrollTo(), but it scrol...