Why not add an empty item to index 0? I usually leave index 0 for something like "Select a blah".
-- Arthur Kalmenson On Fri, Jan 9, 2009 at 5:47 PM, Smith <smitha.kang...@gmail.com> wrote: > > I have a multiple selection list box and when the page loads, I don't > want any item to be selected. I gave setselectedIndex(-1) and that > didn't work on IE. Is there any other way to do this? > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---