I am updating a multi select box using ajax with prototype:\[code\]new Ajax.Updater(selectbox, someurl,{ method:'post', parameters: "data="http://stackoverflow.com/questions/12748417/+ result, onFailure: function(){ alert('ajax updater error'); }});\[/code\]The updater works pretty well and the select box is updated with options returned by the ajax call. The only problem is that the very top option is being automaticly selected in IE.I was trying to manually deselect it by putting\[code\]document.getElementById(selectbox).options[0].selected = false;\[/code\]right after the \[code\]Ajax.Updater()\[/code\] function and inside the \[code\]onSuccess: {}\[/code\] clause but it was initialised before the checkbox was updated so the only way from here was to set a delay but I'm wondering if there's another way to do this?Also adding the attribute \[code\]selected="false"\[/code\] to every option does not solve the problem as then the last option is being selected automaticly